diff --git a/src/TUIKit/adapter-vue.ts b/src/TUIKit/adapter-vue.ts index 222b95e..1b5ecb0 100644 --- a/src/TUIKit/adapter-vue.ts +++ b/src/TUIKit/adapter-vue.ts @@ -3,10 +3,7 @@ import { TUIGlobal } from '@tencentcloud/universal-api'; let vueVersion: number; let framework = 'vue2'; -let createVNode = ( - arg1: any, - arg2: any, -): { component: any; props: any; data: any } => { +let createVNode = (arg1: any, arg2: any): { component: any; props: any; data: any } => { return {} as { component: any; props: any; data: any }; }; let render = (arg1: any, arg2: any) => { @@ -14,17 +11,11 @@ let render = (arg1: any, arg2: any) => { }; try { - if ( - (Vue as any)?.default?.version - && (Vue as any)?.default?.version?.startsWith('2.7.') - ) { + if ((Vue as any)?.default?.version && (Vue as any)?.default?.version?.startsWith('2.7.')) { // >= Vue 2.7.0 vueVersion = 2.7; TUIGlobal.Vue = (Vue as any)?.getCurrentInstance()?.appContext?.app; - } else if ( - (Vue as any)?.default?.version - && (Vue as any)?.default?.version?.startsWith('2.') - ) { + } else if ((Vue as any)?.default?.version && (Vue as any)?.default?.version?.startsWith('2.')) { // < Vue 2.7.0 vueVersion = 2; TUIGlobal.Vue = (Vue as any).default; diff --git a/src/TUIKit/components/TUIChat/chat-header/index.vue b/src/TUIKit/components/TUIChat/chat-header/index.vue index 6e11902..1fba507 100644 --- a/src/TUIKit/components/TUIChat/chat-header/index.vue +++ b/src/TUIKit/components/TUIChat/chat-header/index.vue @@ -8,10 +8,7 @@
-
+
{{ currentConversationName }}
@@ -19,11 +16,7 @@
-
+
@@ -31,12 +24,7 @@ diff --git a/src/TUIKit/components/TUIChat/message-input-toolbar/evaluate/index.vue b/src/TUIKit/components/TUIChat/message-input-toolbar/evaluate/index.vue index 83e41fa..d9789d9 100644 --- a/src/TUIKit/components/TUIChat/message-input-toolbar/evaluate/index.vue +++ b/src/TUIKit/components/TUIChat/message-input-toolbar/evaluate/index.vue @@ -11,83 +11,39 @@ >
-
- {{ TUITranslateService.t("Evaluate.请对本次服务进行评价") }} +
+ {{ TUITranslateService.t('Evaluate.请对本次服务进行评价') }}
-
- {{ TUITranslateService.t("关闭") }} +
+ {{ TUITranslateService.t('关闭') }}
-
    +
    • - - + +
    -