更改viewtype方式
This commit is contained in:
@@ -7,9 +7,6 @@ import { FlowType } from '@/types/enum'
|
||||
|
||||
//const props = defineProps({
|
||||
//})
|
||||
const emit = defineEmits([
|
||||
'viewType'
|
||||
])
|
||||
|
||||
// const data = reactive({
|
||||
// })
|
||||
@@ -22,9 +19,6 @@ const historicalReview = ()=>{
|
||||
router.push(`/workshop/creation?flowType=${FlowType.HISTORY}`)
|
||||
}
|
||||
|
||||
onMounted(()=>{
|
||||
emit('viewType', 1)
|
||||
})
|
||||
onUnmounted(()=>{
|
||||
})
|
||||
defineExpose({})
|
||||
|
||||
Reference in New Issue
Block a user