[update] 绑定零部件

This commit is contained in:
lideqin
2024-04-16 10:50:16 +08:00
parent b13c9fe5b8
commit 8db5079439
2 changed files with 3 additions and 7 deletions
@@ -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)