tangning 2 anni fa
parent
commit
613d410afc
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 2 2
      src/layouts/default/header/index.vue
  2. 1 1
      src/settings/localeSetting.ts

+ 2 - 2
src/layouts/default/header/index.vue

@@ -41,12 +41,12 @@
 
       <FullScreen v-if="getShowFullScreen" :class="`${prefixCls}-action__item fullscreen-item`" />
 
-      <AppLocalePicker
+      <!-- <AppLocalePicker
         v-if="getShowLocalePicker"
         :reload="true"
         :showText="false"
         :class="`${prefixCls}-action__item`"
-      />
+      /> -->
 
       <UserDropDown :theme="getHeaderTheme" />
       <SettingDrawer v-if="getShowSetting" :class="`${prefixCls}-action__item`" />

+ 1 - 1
src/settings/localeSetting.ts

@@ -7,7 +7,7 @@ export const LOCALE: { [key: string]: LocaleType } = {
 };
 
 export const localeSetting: LocaleSetting = {
-  showPicker: true,
+  showPicker: false,
   // Locale
   locale: LOCALE.ZH_CN,
   // Default locale