@@ -126,7 +126,8 @@ export default {
label: require('@/assets/imgs/3pxline.jpg')
}
],
- fileList: []
+ fileList: [],
+ value: ''
},
methods: {}
@@ -1,7 +1,7 @@
<template>
<div class='add-legend'>
<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>
<span slot='footer' class='dialog-footer'>
<el-button @click='dialogVisible = false' size='small'>取 消</el-button>
@@ -119,7 +119,7 @@ export default {
handleClick() {},
add() {
- this.$refs.addLegend.open('', '2')
+ this.$refs.addLegend.open('', '')
mounted() {}