Browse Source

详情组件修改

master
陈薪名 1 year ago
parent
commit
84b4c9f53c
  1. 2
      src/components/Detail/src/Detail.vue

2
src/components/Detail/src/Detail.vue

@ -74,7 +74,6 @@ import * as FileApi from '@/api/wms/file'
import * as defaultButtons from '@/utils/disposition/defaultButtons' import * as defaultButtons from '@/utils/disposition/defaultButtons'
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' import BasicForm from '@/components/BasicForm/src/BasicForm.vue'
import TableHead from '@/components/TableHead/src/TableHead.vue' import TableHead from '@/components/TableHead/src/TableHead.vue'
import { number } from 'vue-types'
defineOptions({ name: 'Detail' }) defineOptions({ name: 'Detail' })
@ -84,6 +83,7 @@ const { t } = useI18n() // 国际化
const route = useRoute() // const route = useRoute() //
const routeName = ref() const routeName = ref()
routeName.value = route.name routeName.value = route.name
routeName.value = routeName.value.substring(0,routeName.value.length - 4) + 'Detail'
const props = defineProps({ const props = defineProps({

Loading…
Cancel
Save