Selaa lähdekoodia

fix:分析设置移除换行符

yangfeng 3 vuotta sitten
vanhempi
commit
1255e3a7af
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/web/staticres/common-module/big-member/js/high_set.js

+ 1 - 1
src/web/staticres/common-module/big-member/js/high_set.js

@@ -368,7 +368,7 @@ var highSet = new Vue({
     },
     onKeywords: function (val) {
       // 过滤首个空格
-      this.conf.keywords = val.replace(/^\s\s*/,'')
+      this.conf.keywords = val.replace(/^\s\s*/,'').replace(/(\r\n)|(\n)/g, '')
     },
     onCancel: function (data) {
       if (!data) {