水印bug修复

This commit is contained in:
wuhongjian 2023-01-03 11:02:46 +08:00
parent 39d1b8aa80
commit 39a7281298
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
* @Author: hisense.wuhongjian
* @Date: 2022-05-06 11:12:00
* @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-12-29 17:12:43
* @LastEditTime: 2023-01-03 11:01:29
* @Description: 告诉大家这是什么
-->
<template>
@ -94,6 +94,7 @@
// realName = res.data.data.realName
// }
realName = store.getters['user/realName']
console.log('真实姓名', realName)
if (realName.length > 13) {
onWholeWaterMark(
[realName, moment().format('YYYY-MM-DD')],
@ -148,6 +149,7 @@
// if (newValue == '/home') {
// waterMarkInit(newValue)
// }
waterMarkInit()
changeWaterMark(newValue)
},
{ immediate: true }