mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-14 02:20:53 +08:00
【新增】插件git同步模块,用于同步项目内容,加速项目开发
【调整】前端暗色问题
This commit is contained in:
@@ -15,13 +15,6 @@ const message = useMessage() // 导入消息钩子
|
||||
*/
|
||||
export const useAuthApiManageStore = defineStore('auth-api-manage-store', () => {
|
||||
// -------------------- 状态定义 --------------------
|
||||
const accessTypes = ref({
|
||||
ssh: 'SSH',
|
||||
aliyun: '阿里云',
|
||||
tencentcloud: '腾讯云',
|
||||
btpanel: '宝塔',
|
||||
'1panel': '1Panel',
|
||||
})
|
||||
|
||||
/** 添加/编辑API表单 */
|
||||
const apiFormProps = ref({
|
||||
@@ -34,6 +27,12 @@ export const useAuthApiManageStore = defineStore('auth-api-manage-store', () =>
|
||||
},
|
||||
})
|
||||
|
||||
// 表格列配置
|
||||
const accessTypeMap = {
|
||||
dns: $t('t_3_1745735765112'),
|
||||
host: $t('t_0_1746754500246'),
|
||||
}
|
||||
|
||||
// -------------------- 请求方法 --------------------
|
||||
/**
|
||||
* 获取授权API列表
|
||||
@@ -123,8 +122,8 @@ export const useAuthApiManageStore = defineStore('auth-api-manage-store', () =>
|
||||
|
||||
return {
|
||||
// 状态
|
||||
accessTypes,
|
||||
apiFormProps,
|
||||
accessTypeMap,
|
||||
|
||||
// 方法
|
||||
fetchAccessList,
|
||||
|
||||
Reference in New Issue
Block a user