alarm 模块中 database 的 table 里面 dbname 默认选择第一个

This commit is contained in:
任珮宇 2023-12-11 17:50:19 +08:00
parent 9dd2c6b830
commit e667205ba0

View File

@ -160,6 +160,8 @@ export default {
getAction('/sysDatabase/dbNames', params).then((res) => {
if (res.success) {
console.log(res)
this.dbName = res.result[0]
this.ondbNameChange(this.dbName)
this.dbNameOptions = res.result.map((item) => {
return {
label: item,