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 -->