From 1e5c40ca6d5c6bbbd062f5cbdfc31d6045b4b77b Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 26 Oct 2021 09:01:24 +0800
Subject: [PATCH] 提醒密码为身份证后六位
---
src/views/securityUnitChild/licence.vue | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/views/securityUnitChild/licence.vue b/src/views/securityUnitChild/licence.vue
index efa47c1..fa0d407 100644
--- a/src/views/securityUnitChild/licence.vue
+++ b/src/views/securityUnitChild/licence.vue
@@ -47,6 +47,7 @@
},
mounted() {
this.seeImg();
+ console.log(this.row.licence);
},
comments: {
srcList() {
@@ -62,8 +63,12 @@
this.form.imgUrl = this.row.licence;
}
},
+ saveLock(name, val) {
+ window.localStorage.setItem(name, val);
+ },
uploadDelete(column, file) {
this.row.licence = "";
+ this.saveLock("danweidata", JSON.stringify(this.row));
return update(this.row)
.then(() => {
this.$message({
@@ -82,6 +87,7 @@
},
uploadAfter(res, done, loading, column) {
this.row.licence = res.url;
+ this.saveLock("danweidata", JSON.stringify(this.row));
update(this.row).then(
() => {
this.$message({
--
Gitblit v1.9.3