alarm 模块中 database 的 table 里面 dbname 默认选择第一个
This commit is contained in:
parent
9dd2c6b830
commit
e667205ba0
|
@ -160,6 +160,8 @@ export default {
|
||||||
getAction('/sysDatabase/dbNames', params).then((res) => {
|
getAction('/sysDatabase/dbNames', params).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
this.dbName = res.result[0]
|
||||||
|
this.ondbNameChange(this.dbName)
|
||||||
this.dbNameOptions = res.result.map((item) => {
|
this.dbNameOptions = res.result.map((item) => {
|
||||||
return {
|
return {
|
||||||
label: item,
|
label: item,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user