Explorar o código

fix:分析设置移除换行符

yangfeng %!s(int64=3) %!d(string=hai) anos
pai
achega
1255e3a7af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {