Vee+element UIによる検索機能
どのようにVue+elementで検索機能を実現しますか?
次のコードはあなたに役に立つかもしれませんよ.
jsコードは以下の通りです.
次のコードはあなたに役に立つかもしれませんよ.
//html
{{searchData.article_title}}
{{searchData.article_context}}
jsコードは以下の通りです.
data() {
return {
show:true,
notshow:false,
like_count: 10,
liked: false,
input4: "",
value: { color: "" },
style: { color: "red" },
tableData: [],
state: "",
restaurants: [],
timeout: null,
searchData:{}
};
},