feat: 🚀 不知道修复了没有
This commit is contained in:
@@ -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=");
|
||||
}
|
||||
|
||||
//图片
|
||||
|
||||
Reference in New Issue
Block a user