Commit dbb774e5 authored by 智勇's avatar 智勇

db列表从后端获取

parent bc32ca35
......@@ -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')
})
},
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment