From 2b4cb775ddfbf9222ce5964db071babd4e8ef802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 18 Aug 2023 18:31:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/article/add.vue | 9 +++++---- src/components/article/index.vue | 13 ++++++++++++- src/components/user/amountdetails.vue | 4 ++-- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/src/components/article/add.vue b/src/components/article/add.vue index da2d759..f9c3f32 100644 --- a/src/components/article/add.vue +++ b/src/components/article/add.vue @@ -3,10 +3,11 @@ - + + + + - - @@ -54,7 +55,7 @@ export default { Publish: 0, id: 0, Thumb: "", - CatalogId:1, + CatalogId:5, }, loading: false, rules: { diff --git a/src/components/article/index.vue b/src/components/article/index.vue index 6fa4e94..066a4e6 100644 --- a/src/components/article/index.vue +++ b/src/components/article/index.vue @@ -63,7 +63,18 @@ export default { }, catalogFormat(data) { console.log(data) - return data.CatalogId==1?"华连头条":"使用技巧"; + switch (data.CatalogId) { + case 1: + return "其他帮助"; + case 2: + return "优惠活动"; + case 3: + return "常见售后"; + case 4: + return "直连教程"; + case 5: + return "公告中心"; + } } }; }, diff --git a/src/components/user/amountdetails.vue b/src/components/user/amountdetails.vue index c38c1fd..30afc4b 100644 --- a/src/components/user/amountdetails.vue +++ b/src/components/user/amountdetails.vue @@ -4,7 +4,7 @@ * @Author: kangkang * @Date: 2020-09-30 21:48:44 * @LastEditors: “wanyongkang” “937888580@qq.com” - * @LastEditTime: 2022-09-13 23:43:18 + * @LastEditTime: 2023-08-12 17:43:59 -->