Signed-off-by: szrpf <27185709@qq.com>

This commit is contained in:
szrpf
2023-04-22 14:39:57 +08:00
parent 583dfa1645
commit 3fa99bf3ec
13 changed files with 248 additions and 203 deletions

View File

@@ -157,9 +157,7 @@ var DataBoard = /** @class */ (function (_super) {
this._customLabelString = value;
this.customLabelStringSplit = value
.replace(/,/g, '_~_').replace(/:/g, '_!_').replace(/ /g, '_@_')
.replace(/([^,])\n/g, '$1_\n').replace(/\n([^,])/g, '\n_$1')
.replace(/([^:])\n/g, '$1_\n').replace(/\n([^:])/g, '\n_$1')
.replace(/([^ ])\n/g, '$1_\n').replace(/\n([^ ])/g, '\n_$1')
.replace(/([^_])\n/g, '$1_\n').replace(/([^_])\n/g, '$1_\n').replace(/\n([^_])/g, '\n_$1')
.split('_');
},
enumerable: false,

File diff suppressed because one or more lines are too long