From 2e3c12ca3a7241f498c32121cb1572502c998d0d Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Sat, 09 Jan 2021 00:42:00 +0800
Subject: [PATCH] 公众号模板消息demo

---
 zq-erp/src/main/resources/templates/views/admin/hive/vip/tc-form.html |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/vip/tc-form.html b/zq-erp/src/main/resources/templates/views/admin/hive/vip/tc-form.html
index c0e8b27..182a537 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/vip/tc-form.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/vip/tc-form.html
@@ -121,7 +121,13 @@
         myForm = MForm.initForm({
             invokeUrl : basePath+"/admin/taoCanUser/addOrModify",
             afterSubmit : function() {
-                parent.myGrid.serchData();
+                if(parent.myGrid) {
+                    parent.myGrid.serchData();
+                }
+
+                if (parent.app) {
+                    parent.app.refreshTable();
+                }
             },
         });
     });

--
Gitblit v1.9.1