Skip to content

Commit

Permalink
📝 feat(erd): 替换论坛讨论地址为github讨论
Browse files Browse the repository at this point in the history
  • Loading branch information
www.zerocode.net.cn committed Apr 15, 2023
1 parent 415daf1 commit d59167e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ screenshot
build
/erd.tar.gz
/ci/erd.tar.gz
/docker/minio/data/.minio.sys/
/docker/mysql/
2 changes: 1 addition & 1 deletion env-config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
window._env_ = {
API_URL: "https://erd.zerocode.net.cn",
API_URL: "http://localhost:9502",
}
2 changes: 1 addition & 1 deletion public/env-config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
window._env_ = {
API_URL: "https://erd.zerocode.net.cn",
API_URL: "http://localhost:9502",
}
16 changes: 14 additions & 2 deletions src/layouts/DesignLayout/_defaultProps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default {
icon: <DatabaseNetwork theme="filled" size="18" fill="#DE2910" strokeWidth={2}/>,
routes: [
{
path: 'https://www.zerocode.net.cn/',
path: 'https://github.com/orgs/www-zerocode-net-cn/discussions',
name: 'ERD Online 论坛',
icon: <Sphere theme="filled" size="18" fill="#DE2910" strokeWidth={2}/>
},
Expand Down Expand Up @@ -133,7 +133,19 @@ export default {
icon: <DatabaseSearch theme="filled" size="18" fill="#DE2910" strokeWidth={2}/>,
routes: [
{
path: 'https://www.zerocode.net.cn/',
path: 'https://github.com/orgs/www-zerocode-net-cn/discussions',
name: 'ERD Online 论坛',
icon: <Sphere theme="filled" size="18" fill="#DE2910" strokeWidth={2}/>
},
]
},
{
path: '/design/table/query',
name: 'Chat SQL',
icon: <DatabaseSearch theme="filled" size="18" fill="#DE2910" strokeWidth={2}/>,
routes: [
{
path: 'https://github.com/orgs/www-zerocode-net-cn/discussions',
name: 'ERD Online 论坛',
icon: <Sphere theme="filled" size="18" fill="#DE2910" strokeWidth={2}/>
},
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/GroupLayout/_defaultProps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
},
{
exact: true,
path: 'https://www.zerocode.net.cn/',
path: 'https://github.com/orgs/www-zerocode-net-cn/discussions',
name: 'ERD Online 论坛',
icon: <Sphere theme="filled" size="18" fill="#DE2910" strokeWidth={2}/>
},
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/HomeLayout/_defaultProps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default {
},
{
exact: true,
path: 'https://www.zerocode.net.cn/',
path: 'https://github.com/orgs/www-zerocode-net-cn/discussions',
name: 'ERD Online 论坛',
icon: <Sphere theme="filled" size="18" fill="#DE2910" strokeWidth={2}/>
},
Expand Down

0 comments on commit d59167e

Please sign in to comment.