Commit ae104865 by luyt

feat:调整title插槽

1 parent 2060fc49
......@@ -3,7 +3,7 @@
<el-dialog v-bind="$attrs" v-on="$listeners">
<template v-slot:title>
<!-- 标题插槽 -->
<!-- <slot name="title" v-if="!bigTitle"></slot> -->
<slot name="title" v-if="!bigTitle"></slot>
<template v-if="bigTitle">
<template v-if="mode === 'big'">
<span class="el-dialog__title">{{ bigTitle }}</span>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!