|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class='add-legend'>
|
|
<div class='add-legend'>
|
|
<el-dialog :title='title' :visible.sync='dialogVisible'>
|
|
<el-dialog :title='title' :visible.sync='dialogVisible'>
|
|
- <add-list v-if='2'></add-list>
|
|
|
|
|
|
+ <add-list v-if='title==""'></add-list>
|
|
<add-form v-else></add-form>
|
|
<add-form v-else></add-form>
|
|
<span slot='footer' class='dialog-footer'>
|
|
<span slot='footer' class='dialog-footer'>
|
|
<el-button @click='dialogVisible = false' size='small'>取 消</el-button>
|
|
<el-button @click='dialogVisible = false' size='small'>取 消</el-button>
|