fix: 🧩 修复BUG

This commit is contained in:
2025-03-27 10:34:06 +08:00
parent a66092dea0
commit 2694a0c905
5 changed files with 69 additions and 56 deletions

View File

@@ -105,6 +105,10 @@ const getProductAttrUp = async () => {
if (obj.prop_name) {
dataStore.editRuleForm.props.push(obj);
}
let dataClone = cloneDeep(dataStore.editRuleForm.props);
let props = JSON.stringify([...dataClone]);
dataStore.editRuleForm.props = props;
const result = await getProductAttrUpApi(dataStore.editRuleForm);
if (result?.code === 0) {
useMsg("success", result?.msg);