pages/modal/3201.vue
@@ -97,12 +97,15 @@ // console.log('动画支持完毕') // }); }, onReady() { uni.setNavigationBarTitle({ title: this.title }); //设置顶部标题 }, async onLoad(options) { // console.log(options); this.duration = 2000; uni.setNavigationBarTitle({ title: options.titlename }); //设置顶部标题 this.title = options.titlename; this.param = JSON.parse(options.param); console.log(this.param);