This commit is contained in:
Theluyuan 2022-11-15 09:09:06 +08:00
parent 6c5ea36d6e
commit f08bdde36b
3 changed files with 10 additions and 7 deletions

View File

@ -1939,8 +1939,10 @@ var _sfc_main = defineComponent(_objectSpread$1(_objectSpread$1({}, __default__)
style: normalizeStyle({
height: contentHeight.value
})
}, [unref(type) === 0 || unref(type) === 1 || unref(type) === 4 ? (openBlock(), createElementBlock(Fragment, {
}, [unref(type) == 3 ? (openBlock(), createElementBlock(Fragment, {
key: 0
}, [createTextVNode("123456")], 64)) : createCommentVNode("", true), unref(type) === 0 || unref(type) === 1 || unref(type) === 4 ? (openBlock(), createElementBlock(Fragment, {
key: 1
}, [__props.icon ? (openBlock(), createElementBlock("i", {
key: 0,
class: normalizeClass(unref(iconClass))
@ -1954,15 +1956,15 @@ var _sfc_main = defineComponent(_objectSpread$1(_objectSpread$1({}, __default__)
}, null, 8, _hoisted_1)) : (openBlock(), createElementBlock(Fragment, {
key: 1
}, [createTextVNode(toDisplayString(renderContent(props.content)), 1)], 64))], 64))], 64)) : createCommentVNode("", true), unref(type) === 2 ? (openBlock(), createBlock(_sfc_main$6, {
key: 1,
key: 2,
src: props.content
}, null, 8, ["src"])) : createCommentVNode("", true), unref(type) === 5 ? (openBlock(), createBlock(_sfc_main$2, {
key: 2,
key: 3,
imgList: props.imgList,
startIndex: props.startIndex,
onResetCalculationPohtosArea: resetCalculationPohtosArea
}, null, 8, ["imgList", "startIndex"])) : createCommentVNode("", true), unref(type) === 6 ? (openBlock(), createBlock(_sfc_main$1, {
key: 3,
key: 4,
onClose: closeHandle,
title: props.title,
content: props.content,

File diff suppressed because one or more lines are too long

View File

@ -631,6 +631,7 @@ defineExpose({ reset, open, close });
:style="{ height: contentHeight }"
:class="contentClasses"
>
<template v-if="type == 3">123456</template>
<template v-if="type === 0 || type === 1 || type === 4">
<i v-if="icon" :class="iconClass"></i>
<slot v-if="slots.default"></slot>