Commit 84d6601d authored by Master Q's avatar Master Q

防连点添加

parent 779887cb
......@@ -40,7 +40,7 @@
"upload": "node scripts/upload",
"build": "npm run handleRes && node scripts/mergeJson && npm run upload && npm run buildTS",
"watch": "webpack --watch",
"dev": "node scripts/devServer -p 8099",
"dev": "node scripts/devServer -p 9033",
"dev1": "webpack-dev-server --open --config webpack.dev.js --host 0.0.0.0",
"buildTS": "webpack --config webpack.prod.js && node scripts/mergeJs",
"copyJs": "node scripts/copyJs",
......
......@@ -656,5 +656,5 @@ export const ResJson = {
"name": "svga"
}
],
"path": "https://yun.duiba.com.cn/db_games/activity/template/1640697401/resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/template/1647245223/resource/"
}
\ No newline at end of file
......@@ -170,7 +170,7 @@ export function sendTbNet(
//网络超时
// let waitObj;
//@ts-ignore 本地开发,直接取数据
if (window.location.port == "8099") {
if (window.location.port == "9033") {
const netInfo = netName.split(".");
var url = `../../mock/miniTb/${netInfo[0]}/${netInfo[1]}.json`;
fetchAsync(url)
......
......@@ -76,6 +76,7 @@ export default class IndexScene extends Scene {
}
async onGameStart() {
this.btnDelay(this.startBtn)
sendLog(LOG_TYPE.CLICK, 74)
if (this.indexSceneData.skiingGuideFlag == 0) {
const {success: s} = await sendTbNet(TbNetName.checkGameNum)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment