Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qahome-diamond
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
QA
qahome-diamond
Commits
dbb774e5
Commit
dbb774e5
authored
Dec 16, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
db列表从后端获取
parent
bc32ca35
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
sync.vue
src/views/dbconfig/sync.vue
+0
-2
index.vue
src/views/proconfig/index.vue
+4
-0
No files found.
src/views/dbconfig/sync.vue
View file @
dbb774e5
...
...
@@ -132,8 +132,6 @@ export default {
getDBName
()
{
getDBName
().
then
(
res
=>
{
this
.
dbnames
=
res
.
data
.
map
(
item
=>
item
.
dbname
)
this
.
dbnames
.
unshift
(
'
all(no_mall)
'
)
this
.
dbnames
.
unshift
(
'
all
'
)
})
},
...
...
src/views/proconfig/index.vue
View file @
dbb774e5
...
...
@@ -163,6 +163,10 @@
</el-select>
</el-form-item>
<el-form-item
v-show=
"temp.type==='java' && temp.deploy_to_testenv"
label=
"Database"
style=
"width: 100%;"
>
<el-input
:autosize=
"{ minRows: 1, maxRows: 2}"
v-model=
"temp.database"
type=
"textarea"
placeholder=
"依赖的数据库,库名与库名之间使用空格分隔"
/>
</el-form-item>
<el-alert
v-show=
"temp.type==='java' && temp.deploy_to_testenv"
style=
"margin-bottom:20px"
...
...
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