修复小问题
This commit is contained in:
parent
f6652e1a52
commit
9a86126668
@ -133,7 +133,9 @@ export default {
|
|||||||
this.$refs["form"].validate((valid) => {
|
this.$refs["form"].validate((valid) => {
|
||||||
if (valid && this.checkFormat(this.form.keyWordArray)) {
|
if (valid && this.checkFormat(this.form.keyWordArray)) {
|
||||||
this.form.keyWord =
|
this.form.keyWord =
|
||||||
this.form.keyWordArray != null && this.form.keyWordArray.length > 0
|
this.form.keyWordArray &&
|
||||||
|
this.form.keyWordArray instanceof Array &&
|
||||||
|
this.form.keyWordArray.length
|
||||||
? this.form.keyWordArray.join(",").replaceAll(",", ",")
|
? this.form.keyWordArray.join(",").replaceAll(",", ",")
|
||||||
: null;
|
: null;
|
||||||
// this.form.keyWord = (this.form.keyWord || "").replace(",", ",");
|
// this.form.keyWord = (this.form.keyWord || "").replace(",", ",");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user