-
+
diff --git a/src/store/getters.js b/src/store/getters.js
index 1c30831..5f1cfb4 100644
--- a/src/store/getters.js
+++ b/src/store/getters.js
@@ -6,6 +6,8 @@ const getters = {
name: state => state.user.name,
certificate_Id: state => state.user.certificate_Id,
step: state => state.user.step,
- loading: state => state.user.loading
+ loading: state => state.user.loading,
+ resetPassword: state => state.user.resetPassword,
+
}
export default getters
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 33315d3..9fe7d82 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -15,6 +15,7 @@ const getDefaultState = () => {
certificate_Id: getLocalStore("certificate_Id") || "",
step: getLocalStore("step") || 0,
loading: getLocalStore("loading") || 0,
+ resetPassword: getLocalStore("resetPassword") || 0,
};
};
@@ -49,6 +50,10 @@ const mutations = {
state.loading = loading;
setLocalStore("loading", loading);
},
+ SET_RESETPASSWORD: (state, resetPassword) => {
+ state.resetPassword = resetPassword;
+ setLocalStore("resetPassword", resetPassword);
+ },
};
const actions = {
diff --git a/src/views/addConfigManange/certificateConfigImg.vue b/src/views/addConfigManange/certificateConfigImg.vue
index 4c81f4a..63c9fb6 100644
--- a/src/views/addConfigManange/certificateConfigImg.vue
+++ b/src/views/addConfigManange/certificateConfigImg.vue
@@ -375,9 +375,8 @@ export default {
message: "证书图片配置成功!",
});
this.saveSuccessData = res.result;
- // localStorage.setItem("certificate_Id", res.result.id);
this.SET_CERTIFICATE_ID(res.result.id);
- localStorage.setItem("saveSuccessData", JSON.stringify(res.result));
+ // localStorage.setItem("saveSuccessData", JSON.stringify(res.result));
this.previewAble = false;
//下一步
if (jump) {
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 90c1ca7..4f180df 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -2,7 +2,6 @@
-
登录
@@ -26,20 +25,20 @@
- 登录
-