cuiqian2004
6 天以前 07925905f1a596e20e980de6d42db217abb753b0
pages/modal/3200_view.vue
@@ -98,13 +98,16 @@
            },
         };
      },
      onReady() {
         uni.setNavigationBarTitle({
            title: this.title
         }); //设置顶部标题
      },
      async onLoad(options) {
         // console.log(options);
         try {
            showLoading("loading...")
            uni.setNavigationBarTitle({
               title: options.titlename
            }); //设置顶部标题
            this.title = options.titlename;
            this.param = JSON.parse(options.param);
            console.log(this.param);
@@ -385,7 +388,15 @@
            })
         },
         //处理相关按钮
         async onButtonClicked(btn) {
         onButtonClicked(btn) {
            this.handleButtonClick((done) => {
               this.buttonClicked(btn);
               setTimeout(() => {
                  done(); // 重置状态
               }, 1000);
            });
         },
         async buttonClicked(btn) {
            var style = this.styleDef || '';
            try {