删除测试代码

This commit is contained in:
ival 2019-08-16 16:57:14 +08:00
parent 483f7ac12b
commit 6065853adc

View File

@ -115,7 +115,6 @@ export default {
initChart() { initChart() {
listUserPermision({pageSize: 9000, pageNum: 1}).then(resp => { listUserPermision({pageSize: 9000, pageNum: 1}).then(resp => {
this.permissionList = resp.data.list.filter(elem => { return parseInt(elem.status) > 0; }); this.permissionList = resp.data.list.filter(elem => { return parseInt(elem.status) > 0; });
this.permissionList = [];
this.mapNameList = [...new Set(this.permissionList.map(elem => { return elem.mapName; })), '']; this.mapNameList = [...new Set(this.permissionList.map(elem => { return elem.mapName; })), ''];
this.$nextTick(() => { this.mapName = this.mapNameList[0] || ''; }); this.$nextTick(() => { this.mapName = this.mapNameList[0] || ''; });
}); });