Browse Source

feat: 创建远程数据库支持 localhost 权限 (#1825)

pull/1826/head
ssongliu 1 year ago committed by GitHub
parent
commit
7c6f8ff7c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      frontend/src/views/database/mysql/create/index.vue

5
frontend/src/views/database/mysql/create/index.vue

@ -33,6 +33,11 @@
<el-form-item :label="$t('database.permission')" prop="permission">
<el-select v-model="form.permission">
<el-option value="%" :label="$t('database.permissionAll')" />
<el-option
v-if="form.from !== 'local'"
value="localhost"
:label="$t('terminal.localhost')"
/>
<el-option value="ip" :label="$t('database.permissionForIP')" />
</el-select>
</el-form-item>

Loading…
Cancel
Save