From 32cdbcbcba165836c15d30bb57aeba0090909cf9 Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Wed, 30 Aug 2023 19:38:37 +0800 Subject: [PATCH] feat: message i18n --- src/api/edit/types/edit.ts | 6 +- src/components/alert/KUNGalgameMessage.vue | 29 ++++++--- src/components/alert/Message.ts | 23 +++++-- src/styles/editor/editor.scss | 5 ++ src/views/edit/components/Button.vue | 75 ++++++++++++++-------- 5 files changed, 95 insertions(+), 43 deletions(-) diff --git a/src/api/edit/types/edit.ts b/src/api/edit/types/edit.ts index e42275e8..cf4ef499 100644 --- a/src/api/edit/types/edit.ts +++ b/src/api/edit/types/edit.ts @@ -2,9 +2,9 @@ export interface EditCreateTopicRequestData { title: string content: string time: number - tags: string - category: string - uid: string + tags: Array + category: Array + uid: number } export interface EditKUNGalgameTopic { diff --git a/src/components/alert/KUNGalgameMessage.vue b/src/components/alert/KUNGalgameMessage.vue index 8e374ed0..fff2efb0 100644 --- a/src/components/alert/KUNGalgameMessage.vue +++ b/src/components/alert/KUNGalgameMessage.vue @@ -1,14 +1,25 @@