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