- 将 template 标签从 #title 替换为 #header - 保持原有标题内容和样式不变 - 符合 Element Plus 组件插槽命名规范
This commit is contained in:
@@ -72,10 +72,11 @@ const handleUpload = async () => {
|
||||
:close-on-click-modal="false"
|
||||
@close="close"
|
||||
>
|
||||
<template #title>
|
||||
<template #header>
|
||||
添加数据
|
||||
<el-tag type="primary" effect="plain">{{ props.token }}</el-tag>
|
||||
</template>
|
||||
|
||||
<div class="add-data-dialog">
|
||||
<el-input
|
||||
v-model="inputData"
|
||||
|
||||
Reference in New Issue
Block a user