|
@@ -36,7 +36,7 @@
|
|
|
>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
- <div id="seaTransferCharts" ref="echartsRef"></div>
|
|
|
+ <div id="seaTransferCharts" ref="echartsRef" v-if="store.state.vectordataid !=0"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -58,7 +58,6 @@ export default {
|
|
|
timeout: null,
|
|
|
pick_entity: null,
|
|
|
dataid: 0,
|
|
|
- tempData: [],
|
|
|
};
|
|
|
},
|
|
|
//监听属性 类似于data概念
|
|
@@ -84,6 +83,7 @@ export default {
|
|
|
viewer_flag(newVal) {
|
|
|
if (newVal) {
|
|
|
viewer.dataSources.removeAll();
|
|
|
+ store.state.vectordataid = 0
|
|
|
}
|
|
|
},
|
|
|
},
|