Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks-h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
quantum-blocks-h5
Commits
1f52784e
Commit
1f52784e
authored
Jun 09, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修复
parent
99caac6b
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
14 deletions
+17
-14
.gitignore
.gitignore
+1
-0
app.ts
app/web/framework/app.ts
+1
-1
apollo.json
config/apollo.json
+11
-9
apollo.ssr.json
config/apollo.ssr.json
+1
-1
config.prod.ts
config/config.prod.ts
+2
-2
package.json
package.json
+1
-1
No files found.
.gitignore
View file @
1f52784e
...
...
@@ -18,6 +18,7 @@ config/plugin.local.js
config/plugin.js
config/config.*.js
config/apollo.json
config/apollo.ssr.json
index.js
config/manifest.json
app/view/*
...
...
app/web/framework/app.ts
View file @
1f52784e
...
...
@@ -75,7 +75,7 @@ export default class App {
return
new
Promise
((
resolve
,
reject
)
=>
{
router
.
onReady
(()
=>
{
this
.
fetch
(
vm
).
then
(()
=>
{
context
.
state
=
{...
store
.
state
,
apollo
:
context
.
state
.
apollo
};
context
.
state
=
{...
store
.
state
,
apollo
:
context
.
state
.
apollo
||
{}
};
return
resolve
(
new
Vue
(
vm
));
});
});
...
...
config/apollo.json
View file @
1f52784e
{
"api"
:
{
"apiHost"
:
"https://quantum-blocks-test1.liangkebang.net"
,
"h5Host"
:
"https://quantum-h5-test1.liangkebang.net"
,
"opapiHost"
:
"https://opapi-test1.liangkebang.net"
,
"passportHost"
:
"https://passportapi-test1.liangkebang.net"
,
"kdspHost"
:
"https://talos-test1.liangkebang.net"
"apiHost"
:
"https://quantum-blocks-undefined.liangkebang.net"
,
"h5Host"
:
"https://quantum-h5-undefined.liangkebang.net"
,
"opapiHost"
:
"https://opapi-undefined.liangkebang.net"
,
"passportHost"
:
"https://passportapi-undefined.liangkebang.net"
,
"kdspHost"
:
"https://talos-undefined.liangkebang.net"
,
"loginUrl"
:
""
,
"h5ShopHost"
:
"https://tenet-undefined.liangkebang.net/#"
},
"mysql"
:
{
"low_code"
:
{
"host"
:
"
172.17.5.9
"
,
"port"
:
31024
,
"host"
:
"
undefined
"
,
"port"
:
"undefined"
,
"username"
:
"qa"
,
"password"
:
"qatest"
,
"database"
:
"low_code"
}
},
"redis"
:
{
"port"
:
31400
,
"host"
:
"
172.17.5.17
"
,
"port"
:
"undefined"
,
"host"
:
"
undefined
"
,
"password"
:
""
,
"db"
:
0
},
...
...
config/apollo.ssr.json
View file @
1f52784e
{}
\ No newline at end of file
{
"apiHost"
:
"https://quantum-blocks-undefined.liangkebang.net","h5Host"
:
"https://quantum-h5-undefined.liangkebang.net","opapiHost"
:
"https://opapi-undefined.liangkebang.net","passportHost"
:
"https://passportapi-undefined.liangkebang.net","kdspHost"
:
"https://talos-undefined.liangkebang.net","loginUrl"
:
"","h5ShopHost"
:
"https://tenet-undefined.liangkebang.net/#","qiniuUpHost"
:
"https://up-z0.qiniup.com","qiniuHost"
:
"https://appsync.lkbang.net"
}
\ No newline at end of file
config/config.prod.ts
View file @
1f52784e
...
...
@@ -20,7 +20,7 @@ export default (appInfo: EggAppConfig) => {
password
:
'
ln4^ESq80j4nrTMZ
'
,
db
:
0
}
};
;
};
return
exports
;
return
{...
exports
,
apollo
:
{}}
;
};
package.json
View file @
1f52784e
...
...
@@ -10,7 +10,7 @@
"dev"
:
"egg-bin dev -r egg-ts-helper/register"
,
"debug"
:
"egg-bin debug -r egg-ts-helper/register"
,
"apollo"
:
"node bin/apollo.js"
,
"build"
:
"cross-env COS_ENV=production easy build --devtool"
,
"build"
:
"
npm run apollo &&
cross-env COS_ENV=production easy build --devtool"
,
"build:test"
:
"cross-env COS_ENV=test easy build --devtool"
,
"tsc"
:
"ets && tsc -p tsconfig.json"
,
"clean"
:
"ets clean"
,
...
...
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