Преглед на файлове

Merge branch 'featuer/api-key' into dev

* featuer/api-key:
  修改apikey 创建字段
  修改新增字段
boweniac преди 1 ден
родител
ревизия
f47c26f949
променени са 1 файла, в които са добавени 21 реда и са изтрити 21 реда
  1. 21 21
      src/views/wechat/api_key/apiKey.data.ts

+ 21 - 21
src/views/wechat/api_key/apiKey.data.ts

@@ -84,7 +84,7 @@ export const formSchema: FormSchema[] = [
   },
   {
     field: 'title',
-    label: t('wechat.apiKey.title'),
+    label: t('名称'),
     component: 'Input',
     required: true,
   },
@@ -100,12 +100,12 @@ export const formSchema: FormSchema[] = [
   //   component: 'InputNumber',
   //   required: true,
   // },
-  {
-    field: 'agent_id',
-    label: t('wechat.apiKey.agentId'),
-    component: 'InputNumber',
-    required: true,
-  },
+  // {
+  //   field: 'agent_id',
+  //   label: t('wechat.apiKey.agentId'),
+  //   component: 'InputNumber',
+  //   required: true,
+  // },
   // {
   //   field: 'agent_info',
   //   label: t('wechat.apiKey.agentInfo'),
@@ -114,26 +114,26 @@ export const formSchema: FormSchema[] = [
   // },
   {
     field: 'custom_agent_base',
-    label: t('wechat.apiKey.customAgentBase'),
+    label: t('模型服务地址'),
     component: 'Input',
     required: false,
   },
   {
     field: 'custom_agent_key',
-    label: t('wechat.apiKey.customAgentKey'),
-    component: 'Input',
-    required: false,
-  },
-  {
-    field: 'openai_base',
-    label: t('wechat.apiKey.openaiBase'),
-    component: 'Input',
-    required: false,
-  },
-  {
-    field: 'openai_key',
-    label: t('wechat.apiKey.openaiKey'),
+    label: t('模型服务密钥'),
     component: 'Input',
     required: false,
   },
+  // {
+  //   field: 'openai_base',
+  //   label: t('wechat.apiKey.openaiBase'),
+  //   component: 'Input',
+  //   required: false,
+  // },
+  // {
+  //   field: 'openai_key',
+  //   label: t('wechat.apiKey.openaiKey'),
+  //   component: 'Input',
+  //   required: false,
+  // },
 ];