安卓接受参数,ios接受不到参数
This commit is contained in:
7
App.vue
7
App.vue
@@ -193,14 +193,17 @@
|
|||||||
}
|
}
|
||||||
// #endif
|
// #endif
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
|
// setTimeout(function(){
|
||||||
var args = plus.runtime.arguments;
|
var args = plus.runtime.arguments;
|
||||||
if (args) {
|
if (args) {
|
||||||
// 处理args参数,如直达到某新页面等
|
// 处理args参数,如直达到某新页面等
|
||||||
console.log(args)
|
console.log(plus.runtime.arguments)
|
||||||
}
|
}
|
||||||
|
// },3000)
|
||||||
|
|
||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
onHide: function() {},
|
onHide: function(){},
|
||||||
destroyed() {
|
destroyed() {
|
||||||
store.commit('setUserInfo', {
|
store.commit('setUserInfo', {
|
||||||
'playFlag': true
|
'playFlag': true
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user