单点问题修复
This commit is contained in:
parent
3672378961
commit
4534ddda4d
|
@ -1,8 +1,8 @@
|
||||||
<!--
|
<!--
|
||||||
* @Author: hisense.wuhongjian
|
* @Author: hisense.wuhongjian
|
||||||
* @Date: 2022-05-06 11:12:00
|
* @Date: 2022-05-06 11:12:00
|
||||||
* @LastEditors: Light
|
* @LastEditors: hisense.wuhongjian
|
||||||
* @LastEditTime: 2022-11-16 10:21:49
|
* @LastEditTime: 2022-11-18 19:07:53
|
||||||
* @Description: 告诉大家这是什么
|
* @Description: 告诉大家这是什么
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
realName.charCodeAt()
|
realName.charCodeAt()
|
||||||
)
|
)
|
||||||
// 如果刚登陆 初始化水印
|
// 如果刚登陆 初始化水印
|
||||||
if (oldValue == '/login' || oldValue == '/') {
|
if (newValue == '/home') {
|
||||||
waterMarkInit(newValue)
|
waterMarkInit(newValue)
|
||||||
}
|
}
|
||||||
changeWaterMark(newValue)
|
changeWaterMark(newValue)
|
||||||
|
@ -125,7 +125,7 @@
|
||||||
{ immediate: true }
|
{ immediate: true }
|
||||||
)
|
)
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
waterMarkInit()
|
// waterMarkInit()
|
||||||
})
|
})
|
||||||
onBeforeUnmount(() => {
|
onBeforeUnmount(() => {
|
||||||
// 4.卸载前, 关闭链接
|
// 4.卸载前, 关闭链接
|
||||||
|
|
Loading…
Reference in New Issue