Explorar o código

修复示例弹层js报错

Ricky %!s(int64=3) %!d(string=hai) anos
pai
achega
47075cb6f5

+ 7 - 0
ruoyi-admin/src/main/resources/templates/demo/modal/form.html

@@ -91,5 +91,12 @@
         </form>
     </div>
 	<th:block th:include="include :: footer" />
+    <script type="text/javascript">
+        function submitHandler() {
+        	if ($.validate.form()) {
+        		$.modal.msgSuccess('保存成功!');
+            }
+        }
+    </script>
 </body>
 </html>