修改禅道已知bug

This commit is contained in:
qq787203167
2022-06-16 18:15:36 +08:00
parent 3484991244
commit 6cef6facfa
@@ -117,7 +117,9 @@
<a-icon type="plus"/>
{{ $t('add') }}
</div>
<div class="operator-text" @click="roleSwitchingClick">
<div class="operator-text"
v-if="roleSwitchingList.length > 1"
@click="roleSwitchingClick">
<a-icon type="select"/>
{{ $t('roleSwitching') }}
</div>
@@ -136,6 +138,7 @@
{{ $t('batSetting') }}
</div>
<div class="operator-text"
v-if="roleSwitchingList.length > 1"
@click="roleSwitchingClick">
<a-icon type="select"/>
{{ $t('roleSwitching') }}
@@ -888,7 +891,7 @@
return current && current < moment().subtract(1, 'day')
},
getRoleByUserId() {
getAction('/sys/role/getRoleByUserId', { projectLibraryId: this.$route.query.id }).then((res) => {
getAction('/project/projectLawsInventoryEO/getRoleByUserId', { projectLibraryId: this.$route.query.id }).then((res) => {
if (res.success) {
this.roleSwitchingList = res.result || []
} else {