更新版本说明

2.1
咬轮猫 4 years ago
parent 39666b2591
commit 894cb8cab3

@ -31,12 +31,20 @@
</a-form-item> </a-form-item>
</a-form> </a-form>
</a-modal> </a-modal>
<a-modal title="版本更新说明"
v-model:visible="versionModelVisible"
@ok="versionModelHandleOk">
<p>新增绘制组件</p>
<p>新增图表</p>
</a-modal>
<!-- <a-button type="primary" <!-- <a-button type="primary"
@click="testD">导出数据</a-button> @click="testD">导出数据</a-button>
<a-button type="primary" <a-button type="primary"
@click="testE">载入模板</a-button> --> @click="testE">载入模板</a-button> -->
<a-button type="danger">当前为2.1版本</a-button> <a-button type="danger"
@click="versionModelVisible=true">当前为2.1版本</a-button>
<a-button type="primary" <a-button type="primary"
@click="testH" @click="testH"
@ -151,6 +159,7 @@ export default {
priview_img: "https://svg.yaolunmao.top/test.png" priview_img: "https://svg.yaolunmao.top/test.png"
}, },
addSvgVisible: false, addSvgVisible: false,
versionModelVisible: false,
svgInfoData: [],// svgInfoData: [],//
shrink: true,// true false shrink: true,// true false
svgLists: [],//svg svgLists: [],//svg
@ -187,6 +196,9 @@ export default {
this.svgInfoData[this.svgInfoData.length] = this.testAddSvg; this.svgInfoData[this.svgInfoData.length] = this.testAddSvg;
this.addSvgVisible = false; this.addSvgVisible = false;
}, },
versionModelHandleOk () {
this.versionModelVisible = false;
},
exportSvg () { exportSvg () {
var exportStr = document.querySelector("#svgCanvas").outerHTML; var exportStr = document.querySelector("#svgCanvas").outerHTML;
console.log(exportStr); console.log(exportStr);

Loading…
Cancel
Save