✨(component): update
This commit is contained in:
parent
8b6e71922e
commit
a62e28bbe9
@ -73,7 +73,6 @@ const ruleItems = computed(() => {
|
||||
return rulesArrs;
|
||||
});
|
||||
|
||||
// 值 计算 和 监听
|
||||
const filedValue = computed(() =>
|
||||
props.prop ? layForm.model[props.prop] : undefined
|
||||
);
|
||||
|
@ -70,7 +70,7 @@ const props = withDefaults(defineProps<LayTableProps>(), {
|
||||
defaultExpandAll: false,
|
||||
spanMethod: () => {},
|
||||
expandKeys: () => [],
|
||||
loading: false
|
||||
loading: false,
|
||||
});
|
||||
|
||||
const tableId = uuidv4();
|
||||
@ -777,10 +777,14 @@ const renderTotalRowCell = (column: any) => {
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<lay-empty v-if="tableDataSource.length == 0 && loading == false"></lay-empty>
|
||||
<lay-empty
|
||||
v-if="tableDataSource.length == 0 && loading == false"
|
||||
></lay-empty>
|
||||
<template v-if="loading == true">
|
||||
<div class="layui-table-loading">
|
||||
<i class="layui-icon-loading layui-icon layui-anim layui-anim-rotate layui-anim-loop"></i>
|
||||
<i
|
||||
class="layui-icon-loading layui-icon layui-anim layui-anim-rotate layui-anim-loop"
|
||||
></i>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
|
@ -1223,7 +1223,7 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
::: title 复杂表头
|
||||
::: title 加载过渡
|
||||
:::
|
||||
|
||||
::: demo 通过 `span-method` 属性, 自定义行列合并的逻辑。
|
||||
|
Loading…
Reference in New Issue
Block a user