feat: 数据库用户名自动填充 (#3136)

Refs #3117
This commit is contained in:
ssongliu 2023-12-01 17:56:09 +08:00 committed by GitHub
parent 64ad829e3c
commit bcc89f4d99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@
<el-row type="flex" justify="center">
<el-col :span="22">
<el-form-item :label="$t('commons.table.name')" prop="name">
<el-input clearable v-model.trim="form.name">
<el-input clearable v-model.trim="form.name" @input="form.username = form.name">
<template #append>
<el-select v-model="form.format" style="width: 120px">
<el-option label="utf8mb4" value="utf8mb4" />