Commit 60cffef0 by 冷斌

fix bug

parent e668b7db
...@@ -289,7 +289,9 @@ ...@@ -289,7 +289,9 @@
} }
}, },
cacheKeyWorlds:function () { cacheKeyWorlds:function () {
return ['考研课程', '事业单位考试', '公务员考试']; let item = localStorage.getItem("search");
//['考研课程', '事业单位考试', '公务员考试'];
return item ? item : [];
} }
}, },
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment