cuiqian2004
4 天以前 07925905f1a596e20e980de6d42db217abb753b0
pages/modal/3202_view.vue
@@ -117,13 +117,16 @@
      onBackPress(e) {
         this.beforeNavigateBack()
      },
      onReady() {
         uni.setNavigationBarTitle({
            title: this.title
         }); //设置顶部标题
      },
      async onLoad(options) {
         try {
            showLoading("loading...")
            console.log(options);
            uni.setNavigationBarTitle({
               title: options.titlename
            }); //设置顶部标题
            this.title = options.titlename;
            this.param = JSON.parse(options.param);
            this.head_styledef = {
@@ -403,7 +406,7 @@
            try {
               var $this = this;
               runCustomEvent(dataInfo).then(result => {
               const result = await runCustomEvent(dataInfo)
                  console.log(result);
                  if (result.ret != 0 && result.ret != 1) {
@@ -478,11 +481,7 @@
                     }
                  }
               }).catch(ex => {
                  console.log(ex);
                  showError(ex, this.translateSys("error") + "9.1")
               });
            } catch (ex) {
               showError(ex, this.translateSys('error') + "9.2")