|
@@ -691,6 +691,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
collectionMatch() {
|
|
|
+ this.innerText = this.innerText.replace(/(^\s*)|(\s*$)/g, "");
|
|
|
if (this.innerText.length == 0) {
|
|
|
this.$message({
|
|
|
message: '术语名称不能为空',
|
|
@@ -698,7 +699,6 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
- this.innerText = this.innerText.replace(/(^\s*)|(\s*$)/g, "");
|
|
|
const loading = this.$loading({
|
|
|
lock: true,
|
|
|
text: 'Loading',
|