This commit is contained in:
libing 2023-12-13 18:17:55 +08:00
parent 041b51b3a1
commit d6159bd581

View File

@ -47,7 +47,7 @@
style="width:100%"> style="width:100%">
<template> <template>
<span style="font-size:13px">{{ data.label }}</span> <span style="font-size:13px">{{ data.label }}</span>
<span v-show="data.show" style="margin-left: 10px;"> <span v-show="data.show && data.id > 0" style="margin-left: 10px;">
<i @click="handleUpdateContinent(data)" class="el-icon-edit"></i> <i @click="handleUpdateContinent(data)" class="el-icon-edit"></i>
<i @click="handleDeleteContinent(data)" class="el-icon-delete"></i> <i @click="handleDeleteContinent(data)" class="el-icon-delete"></i>
</span> </span>
@ -370,7 +370,7 @@ export default {
lastContinentId = item.id; lastContinentId = item.id;
}); });
this.queryParams.continentId = lastContinentId; //this.queryParams.continentId = lastContinentId;
this.continentIdsTree.push(continentTree); this.continentIdsTree.push(continentTree);
this.getList(); this.getList();
}); });