diff --git a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplVue.txt b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplVue.txt index 76d6a07..bcdd903 100644 --- a/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplVue.txt +++ b/ZR.Admin.WebApi/wwwroot/CodeGenTemplate/TplVue.txt @@ -33,7 +33,7 @@ $end - + ${VueViewListContent} @@ -166,10 +166,12 @@ $if(item.HtmlType == "datetime" && item.IsQuery == true) $end $end console.log(JSON.stringify(this.queryParams)); + this.loading = true; list${genTable.BusinessName}(this.queryParams).then(res => { if (res.code == 200) { this.dataList = res.data.result; this.total = res.data.totalNum; + this.loading = false; } }) },