Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wfc13
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
wildfirecode13
wfc13
Commits
979a84a4
Commit
979a84a4
authored
Aug 17, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
4abf57c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Main.ts
project/src/Main.ts
+1
-1
isMember.ts
project/src/isMember.ts
+1
-1
No files found.
project/src/Main.ts
View file @
979a84a4
...
...
@@ -83,7 +83,7 @@ export class Main {
//加载通用资源
await
RES
.
loadGroup
(
"common"
);
await
RES
.
loadGroup
(
"svga"
);
await
sendWebNet
(
WebNetName
.
index
,{
isShare
:
getQueryParams
().
issharepage
?
1
:
0
});
await
sendWebNet
(
WebNetName
.
index
,{
isShare
:
getQueryParams
().
issharepage
==
'1'
?
1
:
0
});
console
.
log
(
"通用资源加载完成"
)
//h5环境时,隐藏加载中
if
(
FYGE
.
getEnv
()
==
"web"
&&
document
.
getElementById
(
"__loading__"
))
document
.
getElementById
(
"__loading__"
).
style
.
display
=
"none"
;
...
...
project/src/isMember.ts
View file @
979a84a4
...
...
@@ -4,5 +4,5 @@ import { WebNetName } from "./WebNetName";
export
const
isMember
=
()
=>
{
const
indexResult
=
getWebData
(
WebNetName
.
index
);
return
getQueryParams
().
ismember
return
indexResult
.
data
.
vip
||
(
localStorage
&&
localStorage
.
getItem
(
'vip'
))
}
\ No newline at end of file
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