This commit is contained in:
lyc 2024-06-28 09:43:57 +08:00
parent a948b80f4d
commit 1efcde76b3
2 changed files with 3 additions and 3 deletions

View File

@ -447,7 +447,7 @@
<script setup>
import { onMounted, ref, watch, toRaw, nextTick, computed, reactive } from 'vue'
import TinyWhiteboard from 'tiny-whiteboard'
import TinyWhiteboard from 'whiteboard_lyc'
import ColorPicker from './components/ColorPicker.vue'
import {
Delete,
@ -827,7 +827,7 @@ onMounted(() => {
//
app.on('change', data => {
showGrid.value = data.state.showGrid
localStorage.setItem('TINY_WHITEBOARD_DATA', JSON.stringify(data))
// localStorage.setItem('TINY_WHITEBOARD_DATA', JSON.stringify(data))
})
//
app.on('scrollChange', (x, y) => {

View File

@ -13,7 +13,7 @@
"build": "vite build",
"format": "prettier --write ."
},
"main": "dist/whiteboard_lyc.cjs.js",
"main": "./src/index.js",
"dependencies": {
"eventemitter3": "^4.0.7",
"uuid": "^9.0.0"