feat: 🚀 不知道修复了没有

This commit is contained in:
2025-07-22 14:26:12 +08:00
parent f867f50114
commit 2347bc6f0c
5 changed files with 432 additions and 113 deletions

View File

@@ -40,12 +40,15 @@ export const initDetailParams = (dataStore: any, data: any, editorRef: any) => {
stock_qty: data.stock_qty,
id: data.id
});
console.log(data.detail, "=======detail========");
//详情
if (!data.detail) {
dataStore.detail = "";
editorRef?.value?.clearEditor(); // 调用子组件的清空方法
} else {
dataStore.detail = cloneDeep(data.detail);
dataStore.detail = data.detail;
// console.log(dataStore.detail, "=dataStore.detail=");
}
//图片