fix: 不显示水印字符串置空值

This commit is contained in:
TsMask committed 2023-10-19 16:11:11 +08:00
1 parent 820eca7bbe
commit 7149588b35
1 file changed
+2 -1
+2 -1
View File
@@ -167,7 +167,8 @@ const useUserStore = defineStore('user', {
if (this.phonenumber) {
waterMarkContent = `${this.userName} ${this.phonenumber}`;
}
useLayoutStore().changeWaterMark(waterMarkContent);
// useLayoutStore().changeWaterMark(waterMarkContent);
useLayoutStore().changeWaterMark("");
}
// 网络错误时退出登录状态
if (res.code === 0) {