浏览代码

去空格

chenrui  3 年之前
父节点
当前提交
5ba05aecb7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/systemManagement/LoginPolicy/index.vue

+ 1 - 1
src/views/systemManagement/LoginPolicy/index.vue

@@ -161,7 +161,7 @@ export default {
   },
   methods: {
     getSearchData(data) {
-      this.keyWord = data;
+      this.keyWord = data.replace(/\s+/g, "");
       this.dataList = [];
       this.tacList = [];
       this.pageNum = 1;