This commit is contained in:
2024-04-01 16:06:07 +08:00
parent 9973ad18ca
commit 28813e1231
4 changed files with 2 additions and 504 deletions

View File

@@ -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"]
}
}