fix: db_file type

This commit is contained in:
shuai 2022-11-04 16:52:52 +08:00
parent b7e292ad4c
commit 3e98b9d61e
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ const Index: FC<Props> = ({ visible, data, changeCallback, nextCallback }) => {
const { db_type, db_username, db_password, db_host, db_name, db_file } =
data;
if (db_type.value !== 'sqllite3') {
if (db_type.value !== 'sqlite3') {
if (!db_username.value) {
bol = false;
data.db_username = {