This commit is contained in:
2020-04-09 16:42:31 +00:00
parent 8e06072204
commit e91224c83d

View File

@@ -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;