问题修复

This commit is contained in:
2025-11-21 17:21:24 +08:00
parent 97feb2c588
commit 798c4a4c74
11 changed files with 1045 additions and 19 deletions

View File

@@ -122,6 +122,7 @@ const loadFinish = ref(false);
const form = reactive({
isEnable: 0,
useType: "all",
shopIdList:[]
});
const actions = [
@@ -222,7 +223,7 @@ const handleConfirm = async () => {
}
couponRedemptionApi.enable({
shopIdList: form.shopIdList,
shopIdList: form.shopIdList||[],
useType: form.useType,
isEnable: form.isEnable,
});
@@ -281,6 +282,7 @@ watch(
async function getConfig() {
couponRedemptionApi.status().then((res) => {
res.shopIdList = res.shopIdList || [];
Object.assign(form, res);
});
}