|
@@ -4,13 +4,13 @@
|
|
|
} from '@/api/user.js'
|
|
|
import md5 from 'js-md5'
|
|
|
export default {
|
|
|
- onLoad: function(option) {
|
|
|
- if(option && option.user){
|
|
|
+ onLaunch: function(options) {
|
|
|
+ if(options && options.query && options.query.user){
|
|
|
this.getUserInfo({
|
|
|
smsCode: "",
|
|
|
captchaKey: "",
|
|
|
captchaValue: "",
|
|
|
- username: option.user,
|
|
|
+ username: options.query.user,
|
|
|
password: "",
|
|
|
mark: ""
|
|
|
}).then(res => {
|