.
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
<th>数据平台</th>
|
||||
<td>
|
||||
<select v-model="row.dbid" class="form-control">
|
||||
<option v-for="item in dbPlats" :value="item.key" v-text="item.name"></option>
|
||||
<option v-for="item in dbPlats" :value="item.dbid" v-text="item.dbname"></option>
|
||||
</select>
|
||||
</td>
|
||||
<th>CataLog</th>
|
||||
@@ -418,7 +418,7 @@
|
||||
catalogs: function () {
|
||||
let dbPlats = this.dbPlats;
|
||||
for (i in dbPlats) {
|
||||
if (dbPlats[i].key === this.row.dbplatid) {
|
||||
if (dbPlats[i].dbid === this.row.dbid) {
|
||||
return dbPlats[i]["catalogs"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user