tangning hai 2 meses
pai
achega
bbb9471766
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/store/modules/app.ts
  2. 1 1
      src/views/mediaLibrary/modal/grouping.vue

+ 1 - 1
src/store/modules/app.ts

@@ -46,7 +46,7 @@ export const useAppStore = defineStore({
     },
     },
     getTitle(): string {
     getTitle(): string {
       const { VITE_GLOB_APP_TITLE } = getAppEnvConfig();
       const { VITE_GLOB_APP_TITLE } = getAppEnvConfig();
-      return VITE_GLOB_APP_TITLE || this.title;
+      return this.title || VITE_GLOB_APP_TITLE;
     },
     },
     getDarkMode(): 'light' | 'dark' | string {
     getDarkMode(): 'light' | 'dark' | string {
       return this.darkMode || localStorage.getItem(APP_DARK_MODE_KEY_) || darkMode;
       return this.darkMode || localStorage.getItem(APP_DARK_MODE_KEY_) || darkMode;

+ 1 - 1
src/views/mediaLibrary/modal/grouping.vue

@@ -18,7 +18,7 @@
       <BasicTable style="padding: 0" @register="registerTable">
       <BasicTable style="padding: 0" @register="registerTable">
         <template #action="{ record }">
         <template #action="{ record }">
           <TableAction
           <TableAction
-            v-if="!record.isShare && record.dictName != '动画模型'"
+            v-if="!record.isShare && record.useType != 'animation'"
             stopButtonPropagation
             stopButtonPropagation
             :actions="[
             :actions="[
               {
               {