edit
This commit is contained in:
parent
a948b80f4d
commit
1efcde76b3
|
@ -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) => {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue