[update] 绑定零部件
This commit is contained in:
@@ -417,7 +417,9 @@ export default {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
}).finally(() => {
|
||||
this.loading = false
|
||||
setTimeout(() => {
|
||||
this.loading = false
|
||||
}, 1000)
|
||||
})
|
||||
},
|
||||
switchChange (value) {
|
||||
|
||||
@@ -459,9 +459,6 @@ export default {
|
||||
}
|
||||
},
|
||||
getData () {
|
||||
if (this.isEditSetData) {
|
||||
return
|
||||
}
|
||||
const formInline = Object.assign({}, this.formInline)
|
||||
Object.keys(formInline).forEach(res => {
|
||||
if (formInline[res] instanceof Array) {
|
||||
@@ -478,9 +475,6 @@ export default {
|
||||
},
|
||||
// 外层获取数据要过校验,返回false表示没有通过校验
|
||||
async getDataValidate () {
|
||||
if (this.isEditSetData) {
|
||||
return
|
||||
}
|
||||
let data = {}
|
||||
await this.$refs.ruleForm.validate(valid => {
|
||||
console.log(valid)
|
||||
|
||||
Reference in New Issue
Block a user