diff --git a/src/modules/helper/static/svg/arrow-down.svg b/src/modules/helper/static/svg/arrow-down.svg new file mode 100644 index 0000000..3348788 --- /dev/null +++ b/src/modules/helper/static/svg/arrow-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/modules/helper/types/index.d.ts b/src/modules/helper/types/index.d.ts index 8bd1774..588e939 100644 --- a/src/modules/helper/types/index.d.ts +++ b/src/modules/helper/types/index.d.ts @@ -30,7 +30,14 @@ export declare interface EpsData { [key: string]: EpsModule[]; } -export declare type CodeType = "entity" | "controller" | "vue"; +export declare type CodeType = "node-entity" | "node-controller" | "node-service" | "vue"; + +export interface CodeItem { + label: string; + value: CodeType; + content: string; + [key: string]: any; +} export declare interface PropRule { value?: string; diff --git a/src/modules/helper/views/ai-code.vue b/src/modules/helper/views/ai-code.vue index 3b0e8f1..17d0a3a 100644 --- a/src/modules/helper/views/ai-code.vue +++ b/src/modules/helper/views/ai-code.vue @@ -78,13 +78,7 @@ - - - +
@@ -101,41 +95,38 @@
- -