|
@@ -19,8 +19,8 @@ export default {
|
|
},
|
|
},
|
|
onLoad(query) {
|
|
onLoad(query) {
|
|
this.query = query;
|
|
this.query = query;
|
|
- this.params = query.params
|
|
|
|
- console.log(this.params)
|
|
|
|
|
|
+ this.params = query.params||"{}"
|
|
|
|
+
|
|
JSON.parse(this.params)
|
|
JSON.parse(this.params)
|
|
this.src = this.query.src+'?'+utils.mapToUrlQuery(JSON.parse(this.params||{}));
|
|
this.src = this.query.src+'?'+utils.mapToUrlQuery(JSON.parse(this.params||{}));
|
|
},
|
|
},
|