mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-01-11 23:58:46 +08:00
fix:优化搜索逻辑
This commit is contained in:
@@ -83,10 +83,16 @@ watch(
|
||||
keyword.value = newKeyword;
|
||||
handleSearch();
|
||||
} else {
|
||||
keyword.value = "";
|
||||
keyword.value = resourcStore.keyword;
|
||||
}
|
||||
}
|
||||
);
|
||||
watch(
|
||||
() => resourcStore.keyword,
|
||||
(newKeyword) => {
|
||||
keyword.value = newKeyword;
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user