Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
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
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
zhaochengxiang
szse
Commits
4c66f9dd
Commit
4c66f9dd
authored
Jul 29, 2025
by
james
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
..
parent
dbb9830a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
text2sql.sh
deploy/text2sql.sh
+9
-0
App.js
src/App.js
+3
-1
No files found.
deploy/text2sql.sh
0 → 100755
View file @
4c66f9dd
yarn run build
Host
=
frontend@192.168.0.12
Dir
=
data-govern
Target
=
/home/frontend/text2sql
source
$(
dirname
"
$0
"
)
/util.sh
deploy
$Host
$Dir
$Target
\ No newline at end of file
src/App.js
View file @
4c66f9dd
...
...
@@ -188,7 +188,7 @@ export class App extends React.Component {
setGlobalState
,
onGlobalStateChange
}}
>
<
Router
basename
=
{
window
.
__POWERED_BY_QIANKUN__
?
'/data-
govern'
:
'/
'
}
>
<
Router
basename
=
{
window
.
__POWERED_BY_QIANKUN__
?
'/data-
model-product'
:
'/text2sql
'
}
>
<
Switch
>
<
Route
path
=
{
`
${
ContextPath
}
/login`
}
component
=
{
Signin
}
exact
/>
<
Route
path
=
{
`
${
ContextPath
}
/home`
}
component
=
{
Home
}
/
>
...
...
@@ -198,6 +198,8 @@ export class App extends React.Component {
<
Route
path
=
{
`
${
ContextPath
}
/asset-detail`
}
component
=
{
AssetDetailPage
}
exact
/>
<
Route
path
=
{
`
${
ContextPath
}
/edit-assets`
}
component
=
{
EditAssets
}
exact
/>
<
Route
path
=
{
`
${
ContextPath
}
/model-review-detail`
}
component
=
{
ModelReviewDetail
}
/
>
<
Route
path
=
{
`/admin/manage`
}
component
=
{
Manage
}
/
>
<
Route
path
=
{
'/center-home/view/datasource-manage'
}
component
=
{
DatasourceManage
}
exact
/>
<
Route
path
=
{
'/center-home/view/data-model'
}
component
=
{
Model
}
exact
/>
...
...
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