瀏覽代碼

权限设置

tangning 2 年之前
父節點
當前提交
613d410afc
共有 2 個文件被更改,包括 3 次插入3 次删除
  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