shish před 2 měsíci
rodič
revize
cc13919298
1 změnil soubory, kde provedl 2 přidání a 10 odebrání
  1. 2 10
      ghsApp/src/admin/shop/renew.vue

+ 2 - 10
ghsApp/src/admin/shop/renew.vue

@@ -237,16 +237,8 @@ export default {
             const p = map[this.selectedKey]
             if (!p) return
             // #ifdef APP-PLUS
-            uni.showModal({
-                title: '提示',
-                content: '将跳转到小程序支付',
-                confirmText: '确定',
-                cancelText: '取消',
-                success: (res) => {
-                    if (res.confirm) {
-                        this.openRenewInMiniProgram()
-                    }
-                }
+            this.$util.confirmModal({ content: '将跳转到小程序支付' }, () => {
+                this.openRenewInMiniProgram()
             })
             // #endif
             // #ifdef MP-WEIXIN