fix: 修复ImportDialog模板根元素问题

- 添加div根元素包裹两个dialog组件
- 解决Vue 2 'Component template should contain exactly one root element'编译错误

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
wkc
2026-02-05 16:33:33 +08:00
parent 9aa3faf452
commit 8b6967bf32

View File

@@ -1,4 +1,6 @@
<template> <template>
<div>
<!-- 导入对话框 -->
<el-dialog <el-dialog
:title="title" :title="title"
:visible.sync="visible" :visible.sync="visible"
@@ -93,6 +95,7 @@
title="导入结果" title="导入结果"
@close="handleImportResultClose" @close="handleImportResultClose"
/> />
</div>
</template> </template>
<script> <script>