【修改】paixu
This commit is contained in:
@@ -190,7 +190,7 @@ export default {
|
|||||||
if (!this.form.itemValue) {
|
if (!this.form.itemValue) {
|
||||||
return this.$message.warning('请检查选项值') && false
|
return this.$message.warning('请检查选项值') && false
|
||||||
}
|
}
|
||||||
if (this.form.itemOrder && !(/^[0-9]*$/.test(this.form.itemOrder))) {
|
if (!this.form.itemOrder || !(/^[0-9]*$/.test(this.form.itemOrder))) {
|
||||||
return this.$message.warning('请检查排序') && false
|
return this.$message.warning('请检查排序') && false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user