File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -312,10 +312,6 @@ import ImportExcel from '@/components/exportExcel/importExcel.vue'
312312// 导出模板组件
313313import ExportTemplate from ' @/components/exportExcel/exportTemplate.vue'
314314{ { - end} }
315- import { useI18n } from ' vue-i18n'
316- const { t } = useI18n ()
317-
318-
319315
320316defineOptions ({
321317 name: ' { { .StructName} } '
Original file line number Diff line number Diff line change @@ -254,6 +254,7 @@ getDataSourceFunc()
254254
255255<script setup >
256256import { useI18n } from ' vue-i18n'
257+ const { t } = useI18n ()
257258import {
258259 { { - if .HasDataSource } }
259260 get{ { .StructName} } DataSource,
@@ -266,7 +267,6 @@ import {
266267 get{ { .StructName} } List
267268} from ' @/plugin/{ { .Package} } /api/{ { .PackageName} } '
268269
269- const { t } = useI18n ()
270270
271271{ { - if or .HasPic .HasFile} }
272272import { getUrl } from ' @/utils/image'
You can’t perform that action at this time.
0 commit comments