diff --git a/src/api/index.js b/src/api/index.js
index 680a628..cdf692b 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -11,7 +11,7 @@ export default {
unbindAccounts: `users/users/user/unbindAccounts`,
// 加密货币
- market: `topic/market`,
+ market: `/topic/market`,
getTopList: `${Setting.cryptoBaseURL}currency/market/getTopList`,
platformLogList: `nakadai/log/platformLogList`,
diff --git a/src/assets/img/log-bg.png b/src/assets/img/log-bg.png
new file mode 100644
index 0000000..7f32bdc
Binary files /dev/null and b/src/assets/img/log-bg.png differ
diff --git a/src/assets/img/log-bg1.png b/src/assets/img/log-bg1.png
new file mode 100644
index 0000000..2bdcaca
Binary files /dev/null and b/src/assets/img/log-bg1.png differ
diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue
index bcc8594..90bd86a 100644
--- a/src/layouts/header/index.vue
+++ b/src/layouts/header/index.vue
@@ -46,11 +46,38 @@
确 定
+
+
+
+
+
+
更新日志
+
+
+
+
{{ item.versionName }}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue
index 7e51404..e7d10dd 100644
--- a/src/pages/account/login/index.vue
+++ b/src/pages/account/login/index.vue
@@ -253,17 +253,8 @@ export default {
this.$post(this.api.saveRecord,{
type: 3,
}).then(res => {}).catch(res => {})
- // 查询是否有更新日志,如果返回了true,则直接跳转到日志页
- this.$get(this.api.logNotification).then(res => {
- const history = this.$route.query.redirect
- const redirect = res.notification ?
- '/log' :
- history ?
- decodeURIComponent(history) :
- '/index'
- util.successMsg('登录成功')
- this.$router.replace(redirect)
- }).catch(res => {})
+ util.successMsg('登录成功')
+ this.$router.replace('/index')
},
submit() {
this.$refs.form.validate(valid => {
diff --git a/src/pages/user/list/index.vue b/src/pages/user/list/index.vue
index 42dc8aa..c73819b 100644
--- a/src/pages/user/list/index.vue
+++ b/src/pages/user/list/index.vue
@@ -41,7 +41,7 @@
@@ -56,7 +56,6 @@
-
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index eae116e..5c9e191 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -22,7 +22,8 @@ export default {
schoolId: '',
userName: '',
isManager: false,
- isCustomer: false
+ isCustomer: false,
+ logView: false // 是否查询过日志状态,如果有,则不再调接口
},
mutations: {
SET_INFO: (state, info) => {
@@ -39,6 +40,9 @@ export default {
SET_CUSTOMER: (state, isCustomer) => {
state.isCustomer = isCustomer
},
+ SET_LOG: (state) => {
+ state.logView = true
+ },
},
actions: {
login({ state,commit }, userInfo) {