From c1fd19cc98baadf98da818f8503f4915e2e10b76 Mon Sep 17 00:00:00 2001 From: ronger Date: Sat, 3 Feb 2024 10:58:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(styles):=20=E4=BA=A7=E5=93=81=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=20UI=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/common/comment/main.vue | 2 +- components/common/product/list.vue | 24 ++++++++++++++++++------ config/api.config.js | 14 +++++++------- nuxt.config.js | 6 +++--- package.json | 2 +- pages/article/post/_article_id.vue | 7 +++++-- pages/product/_product_id.vue | 10 ++++++++++ 7 files changed, 45 insertions(+), 20 deletions(-) diff --git a/components/common/comment/main.vue b/components/common/comment/main.vue index 1a48e9d..8226be6 100644 --- a/components/common/comment/main.vue +++ b/components/common/comment/main.vue @@ -266,7 +266,7 @@ export default { tab: '\t', cdn: apiConfig.VDITOR, cache: { - enable: this.postId ? false : true, + enable: !this.postId, id: this.postId ? this.postId : '', }, after() { diff --git a/components/common/product/list.vue b/components/common/product/list.vue index 09f9be1..50a4229 100644 --- a/components/common/product/list.vue +++ b/components/common/product/list.vue @@ -1,18 +1,30 @@