22 lines
434 B
Vue
22 lines
434 B
Vue
<script setup lang="ts">
|
|
import { reactive } from 'vue';
|
|
import { PrintDesigner } from '../src';
|
|
|
|
const props = reactive({
|
|
modelId: '834333450066701552',
|
|
id: 'D00018F70ee991aa2f64835b2f07035e2220bce',
|
|
});
|
|
|
|
// 返回
|
|
const onBack = () => {
|
|
console.log('返回上一页');
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<PrintDesigner :modelId="props.modelId" :id="props.id" @back="onBack" />
|
|
</template>
|
|
|
|
<style scoped lang="scss">
|
|
|
|
</style> |