fix: 修复切换普通用户登录时,左侧菜单没有同步更新的bug

This commit is contained in:
xiaojunnuo
2024-10-20 01:54:49 +08:00
parent 682cb6b71c
commit 12116a89f4
11 changed files with 53 additions and 49 deletions
@@ -76,7 +76,6 @@ export default function (certPluginGroup: PluginGroup, formWrapperRef: any): Cre
},
valueChange: {
handle: async ({ form, value }) => {
debugger;
const config = await api.GetPluginConfig({
name: value,
type: "builtIn"
@@ -256,7 +256,6 @@ export default {
}
}
//设置系统初始值
debugger;
const pluginSysConfig = await pluginApi.GetPluginConfig({ name: pluginDefine.name, type: "builtIn" });
if (pluginSysConfig.sysSetting?.input) {
for (const key in pluginSysConfig.sysSetting?.input) {
@@ -130,6 +130,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
component: {
name: "access-selector",
vModel: "modelValue",
from: "sys",
type: compute(({ form }) => {
return form.dnsProviderType;
})