默认选中的角色
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -24,7 +24,7 @@ const dialogVisible = computed(() => { | ... | @@ -24,7 +24,7 @@ const dialogVisible = computed(() => { |
| 24 | const loading = ref(false); | 24 | const loading = ref(false); |
| 25 | 25 | ||
| 26 | /** 记录用户选择的角色 */ | 26 | /** 记录用户选择的角色 */ |
| 27 | const selectRole = ref(USERROLE.OPERATION); //在专区需要默认值是平台运营方。 | 27 | const selectRole = ref(userData.superTubeFlag == 'Y' ? USERROLE.OPERATION : USERROLE.USE); //在专区需要默认值是平台运营方。 |
| 28 | 28 | ||
| 29 | onBeforeRouteLeave(() => { | 29 | onBeforeRouteLeave(() => { |
| 30 | }) | 30 | }) | ... | ... |
-
Please register or sign in to post a comment