feat(table): 添加loading参数

This commit is contained in:
roymondchen 2022-09-15 14:40:21 +08:00 committed by jia000
parent 5bb42e6107
commit ee361271e7

View File

@ -1,11 +1,12 @@
<template>
<el-table
:data="tableData"
:show-header="showHeader"
:max-height="bodyHeight"
tooltip-effect="dark"
class="m-table"
ref="table"
v-loading="loading"
:data="tableData"
:show-header="showHeader"
:max-height="bodyHeight"
:default-expand-all="defaultExpandAll"
:border="hasBorder"
:row-key="rowkeyName || 'c_id'"
@ -82,7 +83,7 @@ export default defineComponent({
>,
},
fetch: {
loading: {
type: Boolean,
default: false,
},