File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 66 <div class =" login-image" :style =" { backgroundImage: `url(${loginImage})` }" ></div >
77 </el-col >
88 <el-col :xs =" 24" :sm =" 24" :md =" 14" :lg =" 14" :xl =" 14" class =" right-container flex-center" >
9- <el-dropdown trigger =" click" type =" primary" class =" lang" >
9+ <el-dropdown trigger =" click" type =" primary" class =" lang" v-if = " lang " >
1010 <template #dropdown >
1111 <el-dropdown-menu style =" width : 180px " >
1212 <el-dropdown-item
@@ -45,6 +45,12 @@ import { getThemeImg } from '@/utils/theme'
4545import useStore from ' @/stores'
4646import { useLocalStorage } from ' @vueuse/core'
4747import { langList , localeConfigKey , getBrowserLang } from ' @/locales/index'
48+ defineProps ({
49+ lang: {
50+ type: Boolean ,
51+ default: true
52+ }
53+ })
4854defineOptions ({ name: ' LoginLayout' })
4955const { user } = useStore ()
5056
Original file line number Diff line number Diff line change 1010 <el-icon ><Close /></el-icon >
1111 </div >
1212 </div >
13- <login-layout style =" height : 530px " >
13+ <login-layout style =" height : 530px " :lang = " false " >
1414 <LoginContainer :subTitle =" data.slogan" class =" login-container" >
1515 <div class =" mask" ></div >
1616 <h2 class =" mb-24" >{{ $t('views.login.title') }}</h2 >
You can’t perform that action at this time.
0 commit comments