a1300399510@qq.com 提交于 2023/04/06 -15:00:01

This commit is contained in:
2023-04-06 15:00:13 +08:00
parent 287bc37315
commit bcf7375b76
3 changed files with 15 additions and 9 deletions

View File

@@ -53,6 +53,7 @@ export default {
watch: {
historicalSearch(val, oldval) {
console.log("val", val);
if (val.length > 10) this.historicalSearch.slice(0, 10)
this.$store.commit('setHistoricalSearch', val)
}