Files
wukuang/packages/print-webapp/demo/index.vue
T
2026-05-23 14:05:22 +08:00

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>