Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DuibaGameTemplate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
钱根
DuibaGameTemplate
Commits
84d6601d
Commit
84d6601d
authored
Mar 14, 2022
by
Master Q
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
防连点添加
parent
779887cb
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
package.json
package.json
+1
-1
ResJson.ts
src/ResJson.ts
+1
-1
TaoBaoNet.ts
src/TaoBaoNet.ts
+1
-1
IndexScene.ts
src/scenes/IndexScene.ts
+1
-0
No files found.
package.json
View file @
84d6601d
...
...
@@ -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"
,
...
...
src/ResJson.ts
View file @
84d6601d
...
...
@@ -656,5 +656,5 @@ export const ResJson = {
"name"
:
"svga"
}
],
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/164
0697401
/resource/"
"path"
:
"https://yun.duiba.com.cn/db_games/activity/template/164
7245223
/resource/"
}
\ No newline at end of file
src/TaoBaoNet.ts
View file @
84d6601d
...
...
@@ -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
)
...
...
src/scenes/IndexScene.ts
View file @
84d6601d
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment