xiongzhu 4 лет назад
Родитель
Сommit
2713df946f
1 измененных файлов с 11 добавлено и 0 удалено
  1. 11 0
      src/main/resources/templates/PayOrderPC.ftlh

+ 11 - 0
src/main/resources/templates/PayOrderPC.ftlh

@@ -45,6 +45,17 @@
             }
         });
     };
+    payParams.cancel = function (e) {
+        console.log(e);
+        showDialog({
+            title: '支付取消',
+            message: '',
+            confirm: function () {
+                hideDialog();
+                window.close();
+            }
+        });
+    };
     payParams.fail = function (e) {
         console.log(e);
         showDialog({