mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-16 18:09:22 +08:00
feat(table): 添加loading参数
This commit is contained in:
parent
5bb42e6107
commit
ee361271e7
@ -1,11 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-table
|
<el-table
|
||||||
:data="tableData"
|
|
||||||
:show-header="showHeader"
|
|
||||||
:max-height="bodyHeight"
|
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
class="m-table"
|
class="m-table"
|
||||||
ref="table"
|
ref="table"
|
||||||
|
v-loading="loading"
|
||||||
|
:data="tableData"
|
||||||
|
:show-header="showHeader"
|
||||||
|
:max-height="bodyHeight"
|
||||||
:default-expand-all="defaultExpandAll"
|
:default-expand-all="defaultExpandAll"
|
||||||
:border="hasBorder"
|
:border="hasBorder"
|
||||||
:row-key="rowkeyName || 'c_id'"
|
:row-key="rowkeyName || 'c_id'"
|
||||||
@ -82,7 +83,7 @@ export default defineComponent({
|
|||||||
>,
|
>,
|
||||||
},
|
},
|
||||||
|
|
||||||
fetch: {
|
loading: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user