...
|
...
|
@@ -3,6 +3,7 @@ import { findDictItemByCode } from '/@/api/system/dict'; |
3
|
3
|
import { FormSchema } from '/@/components/Form';
|
4
|
4
|
import { DictEnum } from '/@/enums/dictEnum';
|
5
|
5
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
6
|
+import HelpMessage from '../HelpMessage.vue';
|
6
|
7
|
|
7
|
8
|
export enum FormFieldsEnum {
|
8
|
9
|
NAME = 'name',
|
...
|
...
|
@@ -62,23 +63,9 @@ export const formSchema: FormSchema[] = [ |
62
|
63
|
},
|
63
|
64
|
{
|
64
|
65
|
field: FormFieldsEnum.INTERFACE_ADDRESS,
|
65
|
|
- label: t('application.api.text.interfaceAddress'),
|
|
66
|
+ label: h(HelpMessage) as unknown as string,
|
66
|
67
|
component: 'Input',
|
67
|
68
|
required: true,
|
68
|
|
- helpMessage: [
|
69
|
|
- h(
|
70
|
|
- 'span',
|
71
|
|
- {
|
72
|
|
- style: {
|
73
|
|
- cursor: 'pointer',
|
74
|
|
- },
|
75
|
|
- onClick: () => {
|
76
|
|
- window.open('https://yunteng.yuque.com/avshoi/open_api');
|
77
|
|
- },
|
78
|
|
- },
|
79
|
|
- t('common.documentUrl')
|
80
|
|
- ) as any as string,
|
81
|
|
- ],
|
82
|
69
|
componentProps: {
|
83
|
70
|
maxLength: 255,
|
84
|
71
|
placeholder: t('application.api.search.interfaceAddressPlaceholder'),
|
...
|
...
|
|