(component): update

This commit is contained in:
就眠儀式 2022-10-27 11:40:54 +08:00
parent c608b4f575
commit 21a34143a3
2 changed files with 16 additions and 13 deletions

View File

@ -381,7 +381,8 @@ watch(
* @param icon 图标类型
*/
const boxClasses = computed(() => {
return [{
return [
{
"layui-layer-dialog": type === 0,
"layui-layer-page": type === 1,
"layui-layer-iframe": type === 2,
@ -391,7 +392,9 @@ const boxClasses = computed(() => {
"layui-layer-notifiy": type === 6,
"layui-layer-msg": props.isMessage,
"layui-layer-hui": props.isMessage && !props.icon,
},props.skin];
},
props.skin,
];
});
/**