摘要: JS通过async/await、Promise相结合的方式等待获取点。 async drawLine() { let sp = await this.getPoint({ msg: "指定第一个点:" }); let ep = await this.getPoint({ msg: "指定下一点:" 阅读全文
posted @ 2021-11-25 12:10 智图CAD 阅读(350) 评论(0) 推荐(0) 编辑