vue2-client 1.6.26 → 1.6.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
CHANGED
package/package.json
CHANGED
|
@@ -44,7 +44,7 @@ export default {
|
|
|
44
44
|
},
|
|
45
45
|
computed: {
|
|
46
46
|
...mapState('setting', ['animate', 'iframeSrc']),
|
|
47
|
-
...mapState('account',
|
|
47
|
+
...mapState('account', { login: 'login', currUser: 'user' })
|
|
48
48
|
},
|
|
49
49
|
created () {
|
|
50
50
|
this.isLoaded = false
|
|
@@ -66,6 +66,9 @@ export default {
|
|
|
66
66
|
this.$message.error(msg)
|
|
67
67
|
})
|
|
68
68
|
} else if (this.singlePageUrl.indexOf('http') !== -1) {
|
|
69
|
+
if (this.singlePageUrl.indexOf('?goto=') !== -1) {
|
|
70
|
+
this.singlePageUrl = this.singlePageUrl + '&f_user_id=' + this.currUser.username + '&password=' + this.currUser.password
|
|
71
|
+
}
|
|
69
72
|
this.url = this.singlePageUrl
|
|
70
73
|
} else {
|
|
71
74
|
this.url = this.iframeSrc
|
|
@@ -185,7 +185,9 @@ export default {
|
|
|
185
185
|
},
|
|
186
186
|
afterGeneral (result) {
|
|
187
187
|
const user = Object.assign({
|
|
188
|
+
id: result.id,
|
|
188
189
|
username: result.ename,
|
|
190
|
+
password: this.form.getFieldValue('password'),
|
|
189
191
|
name: result.name,
|
|
190
192
|
avatar: 'https://gw.alipayobjects.com/zos/rmsportal/jZUIxmJycoymBprLOUbT.png',
|
|
191
193
|
address: '西安市',
|