fix: 修改bug

This commit is contained in:
100011797 2023-07-10 09:43:00 +08:00
parent a8338a5981
commit bee1c13d94
2 changed files with 3 additions and 1 deletions

View File

@ -104,6 +104,7 @@ const updateIframeStyle = () => {
) as HTMLIFrameElement;
iframe.onload = () => {
const currentUrl = iframe?.contentWindow?.location?.search || '';
console.log(currentUrl)
let authCode = '';
if (currentUrl.startsWith('?')) {
currentUrl

View File

@ -96,7 +96,7 @@
<j-col :span="12">
<j-form-item name="roleIdList" label="角色" class="flex"
:rules="[
{ required: true, message: '请选择角色' },
{ required: form.data.username !== 'admin', message: '请选择角色' },
]"
>
<j-select
@ -105,6 +105,7 @@
style="width: calc(100% - 40px)"
placeholder="请选择角色"
:options="form.roleOptions"
:disabled="form.data.username === 'admin'"
></j-select>
<PermissionButton