使用 idb 简化 indexeddb 操作

This commit is contained in:
2024-03-08 11:02:37 +08:00
parent db8b33299c
commit 099e36e1b5
4 changed files with 17 additions and 50 deletions

5
public/remove.js Normal file
View File

@@ -0,0 +1,5 @@
import { Chessboard } from './ChineseChess.js'
// 中国象棋
const chessboard = new Chessboard()
chessboard.绘制棋盘({比例: 48, 边距: 20})