edaa261f by lihua

默认选中的角色

1 parent df7efe30
...@@ -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 })
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!