+
diff --git a/src/views/ai/utils/constants.ts b/src/views/ai/utils/constants.ts
index ee2b4b22..6f4e8398 100644
--- a/src/views/ai/utils/constants.ts
+++ b/src/views/ai/utils/constants.ts
@@ -16,6 +16,7 @@ export const AiPlatformEnum = {
DEEP_SEEK: 'DeepSeek', // DeepSeek
ZHI_PU: 'ZhiPu', // 智谱 AI
XING_HUO: 'XingHuo', // 讯飞
+ SiliconFlow: 'SiliconFlow', // 硅基流动
OPENAI: 'OpenAI',
Ollama: 'Ollama',
STABLE_DIFFUSION: 'StableDiffusion', // Stability AI
@@ -44,6 +45,10 @@ export const OtherPlatformEnum: ImageModelVO[] = [
{
key: AiPlatformEnum.ZHI_PU,
name: '智谱 AI'
+ },
+ {
+ key: AiPlatformEnum.SiliconFlow,
+ name: '硅基流动'
}
]
diff --git a/src/views/system/loginlog/index.vue b/src/views/system/loginlog/index.vue
index eea2f198..2e269ffb 100644
--- a/src/views/system/loginlog/index.vue
+++ b/src/views/system/loginlog/index.vue
@@ -47,7 +47,7 @@
plain
@click="handleExport"
:loading="exportLoading"
- v-hasPermi="['infra:login-log:export']"
+ v-hasPermi="['system:login-log:export']"
>
导出
@@ -85,7 +85,7 @@
link
type="primary"
@click="openDetail(scope.row)"
- v-hasPermi="['infra:login-log:query']"
+ v-hasPermi="['system:login-log:query']"
>
详情
diff --git a/src/views/system/operatelog/index.vue b/src/views/system/operatelog/index.vue
index 3f221b7e..ccf2b910 100644
--- a/src/views/system/operatelog/index.vue
+++ b/src/views/system/operatelog/index.vue
@@ -81,7 +81,7 @@
plain
@click="handleExport"
:loading="exportLoading"
- v-hasPermi="['infra:operate-log:export']"
+ v-hasPermi="['system:operate-log:export']"
>
导出
@@ -112,7 +112,7 @@
link
type="primary"
@click="openDetail(scope.row)"
- v-hasPermi="['infra:operate-log:query']"
+ v-hasPermi="['system:operate-log:query']"
>
详情