Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks
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
Commits
868ac099
Commit
868ac099
authored
May 27, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 链接地址修复
parent
21cfb742
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
dev.config.ts
app/web/config/dev.config.ts
+2
-2
prod.config.ts
app/web/config/prod.config.ts
+3
-3
test.config.ts
app/web/config/test.config.ts
+3
-3
index.ts
app/web/page/editor/view/dashboard/index.ts
+1
-1
index.vue
app/web/page/editor/view/pageList/index.vue
+1
-1
index.vue
app/web/page/editor/view/template/index.vue
+1
-1
No files found.
app/web/config/dev.config.ts
View file @
868ac099
...
...
@@ -4,8 +4,8 @@ export default {
apiHost
:
`http://localhost:7001/`
,
// apiHost: `http://192.168.28.199:7001/`,
// apiHost: 'https://quantum-blocks-vcc2.liangkebang.net/',
h5Host
:
'
https://quantum-h5-vcc2.liangkebang.net
/
'
,
qiniuHost
:
`https://appsync.lkbang.net
/
`
,
h5Host
:
'
https://quantum-h5-vcc2.liangkebang.net
'
,
qiniuHost
:
`https://appsync.lkbang.net`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=default`
,
opapiHost
:
`https://opapi-vcc2.liangkebang.net`
,
qiniuUpHost
:
`
${
protocol
}
//up-z0.qiniup.com`
,
...
...
app/web/config/prod.config.ts
View file @
868ac099
const
protocol
=
EASY_ENV_IS_BROWSER
?
window
.
location
.
protocol
:
'
https
'
;
const
hostMap
=
{
apiHost
:
`
${
protocol
}
//quantum-blocks.q-gp.com
/
`
,
h5Host
:
'
${protocol}//quantum-h5.q-gp.com
/
'
,
qiniuHost
:
`
${
protocol
}
//appsync.lkbang.net
/
`
,
apiHost
:
`
${
protocol
}
//quantum-blocks.q-gp.com`
,
h5Host
:
'
${protocol}//quantum-h5.q-gp.com
'
,
qiniuHost
:
`
${
protocol
}
//appsync.lkbang.net`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=production`
,
opapiHost
:
`
${
protocol
}
//opapi.q-gp.com`
,
qiniuUpHost
:
`
${
protocol
}
//up-z0.qiniup.com`
,
...
...
app/web/config/test.config.ts
View file @
868ac099
const
protocol
=
EASY_ENV_IS_BROWSER
?
window
.
location
.
protocol
:
'
https
'
;
const
hostMap
=
{
apiHost
:
`
${
protocol
}
//quantum-blocks-test1.liangkebang.net
/
`
,
h5Host
:
'
${protocol}//quantum-h5-test1.liangkebang.net
/
'
,
apiHost
:
`
${
protocol
}
//quantum-blocks-test1.liangkebang.net`
,
h5Host
:
'
${protocol}//quantum-h5-test1.liangkebang.net
'
,
opapiHost
:
'
${protocol}//opapi-test1.liangkebang.net
'
,
qiniuHost
:
`
${
protocol
}
//appsync.lkbang.net
/
`
,
qiniuHost
:
`
${
protocol
}
//appsync.lkbang.net`
,
shenceUrl
:
`
${
protocol
}
//bn.xyqb.com/sa?project=default`
,
qiniuUpHost
:
`
${
protocol
}
//up-z0.qiniup.com`
,
};
...
...
app/web/page/editor/view/dashboard/index.ts
View file @
868ac099
...
...
@@ -89,7 +89,7 @@ export default class DashBoard extends Mixins(ContextMenuMixin, GoodsTabsMixin,
// 清除新增数据时的缓存
if
(
!
isCreate
)
{
this
.
removeDefaultCache
();
}
if
(
type
===
'
preview
'
)
{
window
.
open
(
`
${
config
.
h5Host
}
activity/
${
this
.
uuid
}
`
);
window
.
open
(
`
${
config
.
h5Host
}
/
activity/
${
this
.
uuid
}
`
);
}
else
{
this
.
$Notice
.
success
({
title
:
'
保存成功!
'
});
}
...
...
app/web/page/editor/view/pageList/index.vue
View file @
868ac099
...
...
@@ -75,7 +75,7 @@ export default {
title
:
'
链接
'
,
hideSearch
:
true
,
render
:
(
h
,
params
)
=>
{
return
h
(
'
span
'
,
`
${
config
.
h5Host
}
activity/
${
params
.
row
.
uuid
}
`
)
return
h
(
'
span
'
,
`
${
config
.
h5Host
}
/
activity/
${
params
.
row
.
uuid
}
`
)
}
},
{
...
...
app/web/page/editor/view/template/index.vue
View file @
868ac099
...
...
@@ -75,7 +75,7 @@ export default {
title
:
'
链接
'
,
hideSearch
:
true
,
render
:
(
h
,
params
)
=>
{
return
h
(
'
span
'
,
`
${
config
.
h5Host
}
activity/
${
params
.
row
.
uuid
}
`
)
return
h
(
'
span
'
,
`
${
config
.
h5Host
}
/
activity/
${
params
.
row
.
uuid
}
`
)
}
},
{
...
...
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