fix: 目录重命名为code-rule匹配菜单路径
- views/base/codegen → views/base/code-rule - api/base/codegen → api/base/code-rule - 更新所有内部import路径 - Vben5按菜单路径自动映射views目录
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { BaseCodeRuleApi } from '#/api/base/codegen';
|
import type { BaseCodeRuleApi } from '#/api/base/code-rule';
|
||||||
|
|
||||||
import { computed, ref, watch } from 'vue';
|
import { computed, ref, watch } from 'vue';
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { VbenFormSchema } from '#/adapter/form';
|
import type { VbenFormSchema } from '#/adapter/form';
|
||||||
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
||||||
import type { BaseCodeRuleApi } from '#/api/base/codegen';
|
import type { BaseCodeRuleApi } from '#/api/base/code-rule';
|
||||||
|
|
||||||
import { getRangePickerDefaultProps } from '#/utils';
|
import { getRangePickerDefaultProps } from '#/utils';
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
||||||
import type { BaseCodeRuleApi } from '#/api/base/codegen';
|
import type { BaseCodeRuleApi } from '#/api/base/code-rule';
|
||||||
|
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@ import { isEmpty } from '@vben/utils';
|
|||||||
import { Modal, message } from 'antdv-next';
|
import { Modal, message } from 'antdv-next';
|
||||||
|
|
||||||
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
|
import { ACTION_ICON, TableAction, useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||||
import { deleteCodeRule, getCodeRulePage, previewCode } from '#/api/base/codegen';
|
import { deleteCodeRule, getCodeRulePage, previewCode } from '#/api/base/code-rule';
|
||||||
import { $t } from '#/locales';
|
import { $t } from '#/locales';
|
||||||
|
|
||||||
import { useGridColumns, useGridFormSchema } from './data';
|
import { useGridColumns, useGridFormSchema } from './data';
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import type { BaseCodeRuleApi } from '#/api/base/codegen';
|
import type { BaseCodeRuleApi } from '#/api/base/code-rule';
|
||||||
|
|
||||||
import { computed, ref } from 'vue';
|
import { computed, ref } from 'vue';
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ import {
|
|||||||
createCodeRule,
|
createCodeRule,
|
||||||
getCodeRule,
|
getCodeRule,
|
||||||
updateCodeRule,
|
updateCodeRule,
|
||||||
} from '#/api/base/codegen';
|
} from '#/api/base/code-rule';
|
||||||
import { $t } from '#/locales';
|
import { $t } from '#/locales';
|
||||||
|
|
||||||
import SegmentEditor from '../components/SegmentEditor.vue';
|
import SegmentEditor from '../components/SegmentEditor.vue';
|
||||||
Reference in New Issue
Block a user