|
|
@ -17,8 +17,9 @@ export default { |
|
|
}, |
|
|
}, |
|
|
onLoad(option) { |
|
|
onLoad(option) { |
|
|
if (option) { |
|
|
if (option) { |
|
|
this.url = decodeURIComponent(option.url) |
|
|
|
|
|
this.params = JSON.parse(option.params) |
|
|
|
|
|
|
|
|
// this.url = decodeURIComponent(option.url) |
|
|
|
|
|
this.url = option.url |
|
|
|
|
|
this.params = option.params? JSON.parse(option.params) : '' |
|
|
console.log('params', option.params) |
|
|
console.log('params', option.params) |
|
|
} else { |
|
|
} else { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
|