gang.huang 2 лет назад
Родитель
Сommit
d77a2770f7
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      admin/templates/default/provider.refill.balance.php

+ 2 - 1
admin/templates/default/provider.refill.balance.php

@@ -557,7 +557,7 @@
 
                 if (res) {
                     const datas = JSON.parse(res);
-                    let tableHTML = `<form id="editStatTypeForm">
+                    let tableHTML = `<form id="editStatTypeForm" method="post" action="/">
                     <div style="width:500px;">
                     <table class="editStatTypeTable">
                     <thead>
@@ -581,6 +581,7 @@
                             btn: ['确定', '取消'],
                             yes: function() {
                                 alert('确定提交');
+                                $('#editStatTypeForm').submit();
                             },
                             btn2: function() {
                                 console.log('取消');