|
@@ -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) {
|