diff --git a/src/api/product/index.ts b/src/api/product/index.ts index b0cc00c..6fc4b8b 100644 --- a/src/api/product/index.ts +++ b/src/api/product/index.ts @@ -49,7 +49,13 @@ const AuthAPI = { data, }); }, - + // 商品详情 + getDetail(id: number) { + return request({ + url: `${baseURL}/${id}`, + method: "get", + }); + }, }; diff --git a/src/components/CURD/PageContent.vue b/src/components/CURD/PageContent.vue index 8f17387..1941e81 100644 --- a/src/components/CURD/PageContent.vue +++ b/src/components/CURD/PageContent.vue @@ -798,8 +798,6 @@ function fetchPageData(formData: IObject = {}, isRestart = false) { if (isRestart) { pagination.currentPage = 1; } - console.log(props, 'debug1') - console.log(props.contentConfig, 'debug2') props.contentConfig .indexAction( showPagination diff --git a/src/components/Upload/MultiImageUpload.vue b/src/components/Upload/MultiImageUpload.vue index 5efac6e..930ad60 100644 --- a/src/components/Upload/MultiImageUpload.vue +++ b/src/components/Upload/MultiImageUpload.vue @@ -198,6 +198,9 @@ const handlePreviewImage = (imageUrl: string) => { const handlePreviewClose = () => { previewVisible.value = false; }; +watch(modelValue, (newValue) => { + fileList.value = newValue.map((url) => ({ url }) as UploadUserFile); +}); onMounted(() => { fileList.value = modelValue.value.map((url) => ({ url }) as UploadUserFile); diff --git a/src/views/application/list/lineUplist/components/basic.vue b/src/views/application/list/lineUplist/components/basic.vue index 1680f11..e4ca1d2 100644 --- a/src/views/application/list/lineUplist/components/basic.vue +++ b/src/views/application/list/lineUplist/components/basic.vue @@ -15,13 +15,10 @@
- + 添加
@@ -48,21 +45,11 @@

通知模板

- +
- +
前面等待
@@ -71,12 +58,7 @@
- + @@ -107,18 +89,10 @@ - + - +