diff --git a/ruoyi-ui/src/assets/iconfont/demo_index.html b/ruoyi-ui/src/assets/iconfont/demo_index.html index d9124f98..28fc1e31 100644 --- a/ruoyi-ui/src/assets/iconfont/demo_index.html +++ b/ruoyi-ui/src/assets/iconfont/demo_index.html @@ -54,6 +54,12 @@
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/sensitive/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/sensitive/index.vue index 30d4e810..6022d668 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/sensitive/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/sensitive/index.vue @@ -19,7 +19,7 @@ 导出 - + @@ -34,6 +34,7 @@ :disable="true" placeholder="请输入敏感词,回车搜索" @handleSearch="handleSearch" + ref="form" /> @@ -201,6 +202,12 @@ export default { this.searchData = data; this.getData(); }, + onReset(){ + this.searchData.word = undefined; + // console.log(this.$refs["form"] , "__-========="); + this.$refs["form"].handleResetForm(); + this.getData(); + }, async getData() { // const closeLoading = setLoading(); this.isLoading = true;