mirror of
https://github.com/certd/certd.git
synced 2026-05-16 13:17:29 +08:00
refactor(plugin): 优化插件配置界面和功能
-调整插件配置界面布局和样式 - 增加插件类型和图标字段 - 修改字段显示逻辑,根据不同插件类型显示相应字段 - 优化插件服务端处理逻辑,支持不同类型的插件配置
This commit is contained in:
@@ -42,16 +42,16 @@ import { merge } from "lodash-es";
|
||||
import { notification } from "ant-design-vue";
|
||||
|
||||
defineOptions({
|
||||
name: "SysPluginConfig"
|
||||
name: "SysPluginConfig",
|
||||
});
|
||||
const formState = reactive<Partial<CommPluginConfig>>({
|
||||
CertApply: {
|
||||
sysSetting: {
|
||||
input: {
|
||||
googleCommonEabAccessId: null
|
||||
}
|
||||
}
|
||||
}
|
||||
googleCommonEabAccessId: null,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
async function loadForm() {
|
||||
@@ -67,7 +67,7 @@ const onFinish = async (form: any) => {
|
||||
saveLoading.value = true;
|
||||
await SaveCommPluginConfigs(form);
|
||||
notification.success({
|
||||
message: "保存成功"
|
||||
message: "保存成功",
|
||||
});
|
||||
} finally {
|
||||
saveLoading.value = false;
|
||||
|
||||
Reference in New Issue
Block a user