Commit 2ad4d8a3 authored by 智勇's avatar 智勇

ploutos增加mock

parent 12bbb7ea
...@@ -119,6 +119,7 @@ export default { ...@@ -119,6 +119,7 @@ export default {
getDBName().then(res => { getDBName().then(res => {
this.dbnames = res.data.map(item => item.dbname) this.dbnames = res.data.map(item => item.dbname)
this.dbnames.unshift('all(no_mall)') this.dbnames.unshift('all(no_mall)')
this.dbnames.unshift('all')
}) })
}, },
......
...@@ -568,7 +568,7 @@ export default { ...@@ -568,7 +568,7 @@ export default {
const realName = this.reponame.split('/')[1] const realName = this.reponame.split('/')[1]
this.is_show = realName === 'mysql' this.is_show = realName === 'mysql'
this.is_wechat = realName === 'h5-ui' this.is_wechat = realName === 'h5-ui'
this.is_mock = realName === 'gu-bei' || realName === 'clotho' this.is_mock = realName === 'gu-bei' || realName === 'clotho' || realName === 'ploutos'
this.mock = { key: '"0"', display_name: '' } this.mock = { key: '"0"', display_name: '' }
this.wechat = { key: '"0"', display_name: '' } this.wechat = { key: '"0"', display_name: '' }
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
align="center"> align="center">
<template slot-scope="{row}"> <template slot-scope="{row}">
<el-tooltip :content="row.git_path" class="item" effect="dark" placement="top"> <el-tooltip :content="row.git_path" class="item" effect="dark" placement="top">
<el-button v-show="row.git_path" type="info" icon="el-icon-tickets" circle /> <el-button type="info" icon="el-icon-tickets" circle />
</el-tooltip> </el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
......
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