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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user