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