refactor: 重构优化

This commit is contained in:
xiaojunnuo
2021-02-05 14:30:31 +08:00
parent 305824ff1a
commit 5cde165f0b
9 changed files with 26 additions and 17 deletions

View File

@@ -3,13 +3,14 @@
<a-select
:value="value"
@update:value="valueUpdate"
placeholder="没有可选时请点右边按钮添加"
>
<a-select-option v-for="item of getProviders()" :key="item.key" :value="item.key" :disabled="isDisabled(item)">
{{ item.name }}
</a-select-option>
</a-select>
<a-button class="suffix" @click="providerManagerOpen">
管理授权
添加授权
</a-button>
</div>
<access-provider-manager ref="providerManagerRef"