Initial commit: 上传整个code目录
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user