修改
This commit is contained in:
parent
7fdd839ddb
commit
71fe304e39
@ -446,6 +446,10 @@ export default {
|
|||||||
}
|
}
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.reset();
|
this.reset();
|
||||||
|
this.$nextTick(() => {
|
||||||
|
// 延时到下一帧才开始,也就是页面刚刚渲染结束!!
|
||||||
|
this.$refs.form.clearValidate();
|
||||||
|
});
|
||||||
},
|
},
|
||||||
// 表单重置
|
// 表单重置
|
||||||
reset() {
|
reset() {
|
||||||
@ -555,9 +559,7 @@ export default {
|
|||||||
var obj = { pictureUrlList: [] };
|
var obj = { pictureUrlList: [] };
|
||||||
obj.pictureUrlList.push(row.goodsCategoryPicture);
|
obj.pictureUrlList.push(row.goodsCategoryPicture);
|
||||||
if (obj.pictureUrlList.length > 0) {
|
if (obj.pictureUrlList.length > 0) {
|
||||||
updatePicture(obj).then((res) => {
|
updatePicture(obj).then((res) => {});
|
||||||
console.log(res);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
this.getList();
|
this.getList();
|
||||||
this.info();
|
this.info();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user