mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-30 12:55:37 +00:00
[fix]修复创建资产组件异常
This commit is contained in:
parent
92ff7ef784
commit
2ed9dfff2c
@ -14,18 +14,18 @@ export default {
|
||||
return {
|
||||
initial: {
|
||||
is_active: true,
|
||||
platform: 'linux'
|
||||
platform: 'Linux'
|
||||
},
|
||||
fields: [
|
||||
[this.$t('assets.Basic'), ['hostname', 'ip', 'platform', 'public_ip', 'domain']],
|
||||
[this.$t('assets.Protocols'), ['protocols']],
|
||||
[this.$t('assets.Protocols'), ['protocol']],
|
||||
[this.$t('assets.Auth'), ['admin_user']],
|
||||
[this.$t('assets.Node'), ['nodes']],
|
||||
[this.$t('assets.Label'), ['labels']],
|
||||
[this.$t('assets.Other'), ['is_active', 'comment']]
|
||||
],
|
||||
fieldsMeta: {
|
||||
protocols: {
|
||||
protocol: {
|
||||
component: CustomInput
|
||||
},
|
||||
platform: {
|
||||
|
Loading…
Reference in New Issue
Block a user