@@ -11,18 +11,11 @@
}
},
- //decodeURIComponent()函数可以识别并且分立出url
onLoad(options) {
- console.log('options', options);
+ //decodeURIComponent()函数可以识别并且分立出url
let fromPath = decodeURIComponent(options.url);
- this.setData({
- url: fromPath
- })
+ this.url = fromPath
-
- methods: {
- }
</script>