This commit is contained in:
Theluyuan 2022-11-15 09:13:33 +08:00
parent f08bdde36b
commit 616a277edb
3 changed files with 7 additions and 10 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

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