forked from github/dataease
feat: 飞书用户登录受限
This commit is contained in:
parent
d60c1ebda8
commit
482d166680
Binary file not shown.
Before Width: | Height: | Size: 880 KiB |
Binary file not shown.
Before Width: | Height: | Size: 431 KiB |
@ -15,7 +15,6 @@ import { XpackComponent } from '@/components/plugin'
|
||||
import { logoutHandler } from '@/utils/logout'
|
||||
import DeImage from '@/assets/login-desc-de.png'
|
||||
import elementResizeDetectorMaker from 'element-resize-detector'
|
||||
import PreheatImage from '@/assets/preheat.png'
|
||||
import { isLarkPlatform } from '@/utils/utils'
|
||||
const { wsCache } = useCache()
|
||||
const appStore = useAppStoreWithOut()
|
||||
@ -145,16 +144,6 @@ const cleanPlatformFlag = () => {
|
||||
}
|
||||
|
||||
const preheat = ref(true)
|
||||
const svg = `
|
||||
<path class="path" d="
|
||||
M 30 15
|
||||
L 28 17
|
||||
M 25.61 25.61
|
||||
A 15 15, 0, 0, 1, 15 30
|
||||
A 15 15, 0, 1, 1, 27.99 7.5
|
||||
L 15 15
|
||||
" style="stroke-width: 4px; fill: rgba(0, 0, 0, 0)"/>
|
||||
`
|
||||
const showLoginErrorMsg = () => {
|
||||
if (!loginErrorMsg.value) {
|
||||
return
|
||||
@ -209,13 +198,9 @@ onMounted(() => {
|
||||
ref="loginContainer"
|
||||
class="preheat-container"
|
||||
v-loading="true"
|
||||
element-loading-text="Loading..."
|
||||
:element-loading-spinner="svg"
|
||||
element-loading-svg-view-box="-10, -10, 50, 50"
|
||||
element-loading-background="rgba(122, 122, 122, 0.8)"
|
||||
>
|
||||
<el-image class="preheat-image" fit="cover" :src="PreheatImage" />
|
||||
</div>
|
||||
element-loading-text="登录中..."
|
||||
element-loading-background="#F5F6F7"
|
||||
/>
|
||||
<div v-show="contentShow" class="login-background" v-loading="duringLogin">
|
||||
<div class="login-container" ref="loginContainer">
|
||||
<div class="login-image-content" v-loading="!axiosFinished" v-if="showLoginImage">
|
||||
@ -354,10 +339,6 @@ onMounted(() => {
|
||||
background: #000;
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
.preheat-image {
|
||||
width: 98%;
|
||||
height: 98%;
|
||||
}
|
||||
}
|
||||
.login-background {
|
||||
background-color: #f5f7fa;
|
||||
|
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
||||
Subproject commit d02776de83c8bc092683a2013e80329d437d9935
|
||||
Subproject commit 51a402bb2a1da18dd34a98f0de398f1be0c22682
|
Loading…
Reference in New Issue
Block a user