style(CRUD):生成代码的 import 语句整理

This commit is contained in:
妙码生花 2023-10-22 19:45:21 +08:00
parent dfd14f8c88
commit 3c65797889
2 changed files with 10 additions and 10 deletions

View File

@ -44,13 +44,13 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { reactive, ref, inject } from 'vue'
import { useI18n } from 'vue-i18n'
import type baTableClass from '/@/utils/baTable'
import FormItem from '/@/components/formItem/index.vue'
import type { FormInstance, FormItemRule } from 'element-plus' import type { FormInstance, FormItemRule } from 'element-plus'
import { buildValidatorData } from '/@/utils/validate' import { inject, reactive, ref } from 'vue'
import { useI18n } from 'vue-i18n'
import FormItem from '/@/components/formItem/index.vue'
import { useConfig } from '/@/stores/config' import { useConfig } from '/@/stores/config'
import type baTableClass from '/@/utils/baTable'
import { buildValidatorData } from '/@/utils/validate'
const config = useConfig() const config = useConfig()
const formRef = ref<FormInstance>() const formRef = ref<FormInstance>()

View File

@ -20,14 +20,14 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ref, provide, onMounted } from 'vue' import { onMounted, provide, ref } from 'vue'
import baTableClass from '/@/utils/baTable'
import { defaultOptButtons } from '/@/components/table'
import { baTableApi } from '/@/api/common'
import { useI18n } from 'vue-i18n' import { useI18n } from 'vue-i18n'
import PopupForm from './popupForm.vue' import PopupForm from './popupForm.vue'
import Table from '/@/components/table/index.vue' import { baTableApi } from '/@/api/common'
import { defaultOptButtons } from '/@/components/table'
import TableHeader from '/@/components/table/header/index.vue' import TableHeader from '/@/components/table/header/index.vue'
import Table from '/@/components/table/index.vue'
import baTableClass from '/@/utils/baTable'
defineOptions({ defineOptions({
name: '{%componentName%}', name: '{%componentName%}',