Open only0322 opened 8 months ago
<chessboard :onPromotion="promote" :free="ifFree" :orientation="boardColor" @onMove="getInfo" :fen="currentFen"/>
async mounted() { if (location.protocol.indexOf('http') !== -1) { this.isDev = true } await this.getSetting() this.currentFen = this.openFen },
dont know how to fix it
openFen is the default fen like "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
dont know how to fix it