fix:修复添加刷新,修改初始化

This commit is contained in:
faiz 2024-10-18 11:34:30 +08:00
parent 551825187c
commit 179167c194
1 changed files with 4 additions and 6 deletions

View File

@ -405,12 +405,10 @@ export default {
this.$message({
message: "线路添加成功",
type: "success",
onclose: async () => {
});
let res = await getProductsList();
this.options = res.data.data;
this.platformList = res.ext.oss;
},
});
}
} else {
return false;
@ -444,7 +442,7 @@ export default {
// console.log(res.data.data);
this.options = res.data.data;
this.platformList = res.ext.oss;
this.item = item;
this.item = { ...item };
this.item.product_ids = item.product_ids.split(",").map((item) => {
return Number(item);
});