219c12d6 by renchao@pashanhoo.com

feat:集成cad

1 parent 1fcfb38a
Showing 24 changed files with 4 additions and 3 deletions
<!--
功能:初始化功能描述
作者:calliope
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-01 09:58:47
-->
<template>
<canvas id="mxcad">
......@@ -16,7 +17,7 @@
// 创建控件对象
Mx.MxFun.createMxObject({
canvasId: "mxcad", // canvas元素的id
cadFile: "./cad.dwg", // http方式(预览): 加载public/demo文件夹下转换后的图纸
cadFile: "/buf/hhhh.dwg", // http方式(预览): 加载public/demo文件夹下转换后的图纸
// cadFile: "test2.dwg", // socket通信方式请直接提供图纸名称 如:text.dwg
callback: (mxDraw, {
canvas,
......