Commit f3bb62fe authored by 刘雅文's avatar 刘雅文

修改水印

parent def475fb
...@@ -15,12 +15,12 @@ export default { ...@@ -15,12 +15,12 @@ export default {
name: "app", name: "app",
components: { vueCanvasNest }, components: { vueCanvasNest },
created() { created() {
const userName = localStorage.getItem("userName"); const loginName = localStorage.getItem("loginName");
const userCell = localStorage.getItem("userCellFour"); const userCell = localStorage.getItem("userCellFour");
// const userCells = userCell.substr(-4); // const userCells = userCell.substr(-4);
setTimeout(() => { setTimeout(() => {
if (userName) { if (loginName) {
watermark.load({ watermark_txt: userName + userCell ,watermark_color:'#aaa',watermark_angle:30}); watermark.load({ watermark_txt: loginName + userCell ,watermark_color:'#aaa',watermark_angle:30,watermark_width:200,});
} }
}, 100); }, 100);
}, },
......
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
this.$router.push("/index"); this.$router.push("/index");
setTimeout(()=>{ setTimeout(()=>{
watermark.load({ watermark_txt: res.data.result.userName + res.data.result.userCellFour ,watermark_color:'#aaa',watermark_angle:30,}); watermark.load({ watermark_txt: res.data.result.loginName + res.data.result.userCellFour ,watermark_color:'#aaa',watermark_angle:30,watermark_width:300,});
},100) },100)
} else { } else {
this.ui.loginLoading = false; this.ui.loginLoading = false;
......
## 客服后台更新需求日志 ## 客服后台更新需求日志
- 2022-10-28 新增页面水印(姓名+手机号后4位),发布到金钱和鼎荣 - 2022-10-28 新增页面水印(姓名+手机号后4位),发布到线上(金钱和鼎荣)
\ No newline at end of file - 2022-11-02 修改水印(登录用户名+手机号后4位),发布到线上(金钱和鼎荣)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment