web/packages/components/zt-table-wraper/src/zt-table-wraper.vue
@@ -31,6 +31,10 @@ export default { name: 'ZtTableWraper', props: { defaultNotQuery:{ type: Boolean, default: false }, queryUrl: String, // 数据列表接口,API地址 deleteUrl: String, // 删除接口,API地址, exportUrl: String, // 导出接口,API地址 @@ -91,7 +95,7 @@ } } if (!this.lazy) { if (!this.lazy && !this.defaultNotQuery) { this._query() } }, @@ -144,6 +148,7 @@ if (res.success) { await this.$tip.success() this._query() this.$emit('refreshMethod') } } },