Browse Source

fix:分析设置移除换行符

yangfeng 3 năm trước cách đây
mục cha
commit
1255e3a7af
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {