mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 16:35:53 +08:00
修改一些问题,删除无用文件,商品选择器回显
This commit is contained in:
@@ -25,9 +25,6 @@ export default {
|
||||
flag: false, // modal显隐
|
||||
};
|
||||
},
|
||||
props: ["types"],
|
||||
watch: {},
|
||||
mounted() {},
|
||||
methods: {
|
||||
// 关闭弹窗
|
||||
clickClose() {
|
||||
@@ -51,13 +48,17 @@ export default {
|
||||
}
|
||||
this.clickClose();
|
||||
},
|
||||
open(type) {
|
||||
open(type, mutiple) {
|
||||
this.flag = true;
|
||||
if (type == "goods") {
|
||||
this.goodsFlag = true;
|
||||
if (mutiple) {
|
||||
this.singleGoods()
|
||||
}
|
||||
} else {
|
||||
this.goodsFlag = false;
|
||||
}
|
||||
|
||||
},
|
||||
close() {
|
||||
this.flag = false;
|
||||
|
||||
Reference in New Issue
Block a user