报错基本解决,数据绑定还有些错误

This commit is contained in:
gexinzhineng/gxzn27
2023-01-28 17:42:19 +08:00
parent 3ce663c7a5
commit b704aae49b
16 changed files with 171 additions and 132 deletions

View File

@ -27,7 +27,7 @@
</template>
<script setup lang="ts">
import { ref, onMounted, onBeforeMount } from 'vue'
import { ref, onMounted } from 'vue'
// import { translations } from '@/components/bpmnProcessDesigner/src/translations'
// 自定义元素选中时的弹出菜单(修改 默认任务 为 用户任务)
import CustomContentPadProvider from '@/components/bpmnProcessDesigner/package/designer/plugins/content-pad'
@ -64,9 +64,6 @@ const controlForm = ref({
// })
// 流程模型的信息
const model = ref({})
onBeforeMount(() => {
// window.bpmnInstances = {}
})
onMounted(() => {
// 如果 modelId 非空,说明是修改流程模型
const modelId = router.currentRoute.value.query && router.currentRoute.value.query.modelId