src/components/input/codeEditor/types.ts
@@ -1,5 +1,6 @@ export type TextType = 'text' | 'javascript'; export type TextType = 'text' | 'javascript' |'python'; export const textTypeMap = { text: '文本', javascript: 'JavaScript', python:'Python' };