✨(component): update
This commit is contained in:
parent
c608b4f575
commit
21a34143a3
@ -886,7 +886,7 @@ onBeforeUnmount(() => {
|
||||
<template v-if="tableDataSource.length == 0 && loading == false">
|
||||
<lay-empty></lay-empty>
|
||||
<div :style="{ width: tableBodyEmptyWidth }"></div>
|
||||
</template>
|
||||
</template>
|
||||
<template v-if="loading == true">
|
||||
<div class="layui-table-loading">
|
||||
<i
|
||||
|
@ -381,17 +381,20 @@ watch(
|
||||
* @param icon 图标类型
|
||||
*/
|
||||
const boxClasses = computed(() => {
|
||||
return [{
|
||||
"layui-layer-dialog": type === 0,
|
||||
"layui-layer-page": type === 1,
|
||||
"layui-layer-iframe": type === 2,
|
||||
"layui-layer-loading": type === 3,
|
||||
"layui-layer-drawer": type === 4,
|
||||
"layui-layer-photos": type === 5,
|
||||
"layui-layer-notifiy": type === 6,
|
||||
"layui-layer-msg": props.isMessage,
|
||||
"layui-layer-hui": props.isMessage && !props.icon,
|
||||
},props.skin];
|
||||
return [
|
||||
{
|
||||
"layui-layer-dialog": type === 0,
|
||||
"layui-layer-page": type === 1,
|
||||
"layui-layer-iframe": type === 2,
|
||||
"layui-layer-loading": type === 3,
|
||||
"layui-layer-drawer": type === 4,
|
||||
"layui-layer-photos": type === 5,
|
||||
"layui-layer-notifiy": type === 6,
|
||||
"layui-layer-msg": props.isMessage,
|
||||
"layui-layer-hui": props.isMessage && !props.icon,
|
||||
},
|
||||
props.skin,
|
||||
];
|
||||
});
|
||||
|
||||
/**
|
||||
@ -706,4 +709,4 @@ defineExpose({ reset, open, close });
|
||||
</div>
|
||||
</transition>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user