Parcourir la source

转义字符 还原

morphone1995 il y a 4 ans
Parent
commit
e160e4d6b4
1 fichiers modifiés avec 2 ajouts et 4 suppressions
  1. 2 4
      src/components/cdssManage/plan/Plan.vue

+ 2 - 4
src/components/cdssManage/plan/Plan.vue

@@ -194,13 +194,11 @@ export default {
       if (isTurnPage && !this.searched) {
         this.clearFilter();
       }
-      let planName = this.filter.planName.trim();
-      // var patrn = /[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘',。、]/im;
-      // console.log(this.escapeRegExp(planName));
+      // let planName = this.filter.planName.trim();
       const param = {
         current: this.inCurrentPage || this.currentPage,
         size: this.pageSize,
-        planName: this.escapeRegExp(planName),
+        planName: this.filter.planName.trim(),
         hospitalId: this.filter.hospitalId
       };
       return param;