Skip to content

Commit 830dd02

Browse files
committed
check searchData null
1 parent 0e8db3b commit 830dd02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/VariableAllDialog.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export default {
7676
return this.$store.state.variables["proj"];
7777
},
7878
searchData() {
79+
if (this.$store.getters.searchVToProj(this.keyword) == null) return null;
7980
return this.$store.getters.searchVToProj(this.keyword).slice(0, 200);
8081
},
8182
},

0 commit comments

Comments
 (0)