mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 22:55:36 +00:00
style(CRUD):生成代码的 import 语句整理
This commit is contained in:
parent
dfd14f8c88
commit
3c65797889
@ -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>()
|
||||||
|
@ -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%}',
|
||||||
|
Loading…
Reference in New Issue
Block a user