This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nezha-fronted/nezha-fronted/src/components/common/project/meta2d/js/topoUtil.js

15 lines
378 B
JavaScript
Raw Normal View History

2023-02-16 16:33:20 +08:00
import { getTopology, setTopology, dealImg, topologyImg } from '@/components/common/js/common'
export default {
methods: {
topoResize (id) {
getTopology(id).resize()
},
initEdit (id) {
console.log(getTopology(id))
getTopology(id).lock(0)
getTopology(id).centerView()
getTopology(id).stopAnimate(getTopology(id).data.pens)
}
}
}