vue2-client 1.4.26 → 1.4.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/pages/login/Login.vue +10 -16
- package/src/services/apiService.js +0 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -116,22 +116,16 @@ export default {
|
|
|
116
116
|
},
|
|
117
117
|
afterLoginV4 (res) {
|
|
118
118
|
this.setV4AccessToken(res)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
this.
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
})
|
|
130
|
-
}
|
|
131
|
-
})
|
|
132
|
-
}).catch(msg => {
|
|
133
|
-
this.error = msg
|
|
134
|
-
this.logging = false
|
|
119
|
+
const data = res.resources
|
|
120
|
+
this.$login.login(data).then(() => {
|
|
121
|
+
this.afterGeneral(data)
|
|
122
|
+
if (data.deps === '用户工单登记') {
|
|
123
|
+
this.$router.push(this.ticketPage).catch(() => {
|
|
124
|
+
})
|
|
125
|
+
} else {
|
|
126
|
+
this.$router.push(this.homePage).catch(() => {
|
|
127
|
+
})
|
|
128
|
+
}
|
|
135
129
|
})
|
|
136
130
|
},
|
|
137
131
|
afterLogin (res) {
|