File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
ui/src/views/login/components Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -75,16 +75,13 @@ const router = useRouter()
7575const { user } = useStore ()
7676const { load } = useScriptTag (' https://g.alicdn.com/dingding/h5-dingtalk-login/0.21.0/ddlogin.js' )
7777const isConfigReady = ref (false )
78- const errorShown = ref (false )
7978
8079const initActive = async () => {
8180 try {
8281 await load (true )
83- errorShown .value = false
8482 if (! isConfigReady .value ) {
8583 return
8684 }
87- console .log (props .config )
8885
8986 const data = {
9087 appKey: props .config .app_key ,
@@ -115,10 +112,7 @@ const initActive = async () => {
115112 })
116113 },
117114 (errorMsg : string ) => {
118- if (! errorShown .value ) {
119- MsgError (errorMsg )
120- errorShown .value = true
121- }
115+ MsgError (errorMsg )
122116 }
123117 )
124118 } catch (error ) {
You can’t perform that action at this time.
0 commit comments