This commit is contained in:
@@ -170,20 +170,19 @@ export default {
|
||||
getExcerpt(item) {
|
||||
let vm = this;
|
||||
//Search/Info/2/1?phrase=we
|
||||
if (item.info) {
|
||||
if (item.info || item.id == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
window.$gz.api
|
||||
.get(
|
||||
API_BASE_URL +
|
||||
"Info/" +
|
||||
item.type +
|
||||
"/" +
|
||||
item.id +
|
||||
"?phrase=" +
|
||||
vm.searchPhrase
|
||||
)
|
||||
|
||||
.then(res => {
|
||||
if (res.error != undefined) {
|
||||
vm.formState.serverError = res.error;
|
||||
|
||||
Reference in New Issue
Block a user