Merge branch 'master' into deploy

This commit is contained in:
Zheng Jie
2021-03-03 17:29:29 +08:00

View File

@@ -78,8 +78,10 @@ export default {
if (data && data.redirect) { if (data && data.redirect) {
this.redirect = data.redirect this.redirect = data.redirect
delete data.redirect delete data.redirect
if (JSON.stringify(data) !== '{}') {
this.redirect = this.redirect + '&' + qs.stringify(data, { indices: false }) this.redirect = this.redirect + '&' + qs.stringify(data, { indices: false })
} }
}
}, },
immediate: true immediate: true
} }