<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
},