Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shengxinjing committed Dec 6, 2021
1 parent 368c99b commit d076b9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 1 addition & 6 deletions docs/.vuepress/roadmap/RoadMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ function canvasClick(e) {
}
function add(x,y){
return x*y
}
function getNow(){
const now = Date.now()
}
function downloadCanvas() {
const canvas = canvasRef.value
Expand All @@ -51,6 +45,7 @@ function downloadCanvas() {
}
onMounted(() => {
const canvas = drawMap(canvasRef.value, props.data)
console.log(canvas)
canvas.on("mouse:down", canvasClick)
})
// onUnmounted(()=>{
Expand Down
3 changes: 3 additions & 0 deletions gen.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const fs = require('fs')

const canvas = require('canvas')

0 comments on commit d076b9b

Please sign in to comment.