Browse Source

1、HL-3515

hella_online_20240829
bjang03 3 months ago
parent
commit
e52662e20d
  1. 2
      src/views/login/components/LoginForm.vue
  2. 1
      src/views/login/updatePasswordNewTips.vue

2
src/views/login/components/LoginForm.vue

@ -279,7 +279,7 @@
}catch (e) { }catch (e) {
if(e.code === 1002000010){ if(e.code === 1002000010){
setTimeout(function (){ setTimeout(function (){
window.location.href = "/updatePasswordNewTips?username="+loginData.loginForm.username router.push({path:"/updatePasswordNewTips",query:{username:loginData.loginForm.username}})
},3000) },3000)
} }
} finally { } finally {

1
src/views/login/updatePasswordNewTips.vue

@ -31,6 +31,7 @@
</template> </template>
<script lang="ts" setup name="bb"> <script lang="ts" setup name="bb">
import type { RouteLocationNormalizedLoaded } from 'vue-router' import type { RouteLocationNormalizedLoaded } from 'vue-router'
import router from "@/router";
import { useIcon } from '@/hooks/web/useIcon' import { useIcon } from '@/hooks/web/useIcon'
import { setTenantId, setToken } from '@/utils/auth' import { setTenantId, setToken } from '@/utils/auth'
import { usePermissionStore } from '@/store/modules/permission' import { usePermissionStore } from '@/store/modules/permission'

Loading…
Cancel
Save