feat: Cloud sync supports syncing tags

This commit is contained in:
jiangweidong
2025-01-07 17:40:04 +08:00
committed by Bryan
parent 25c7d0a372
commit 2f9ad17b1f
2 changed files with 4 additions and 0 deletions

View File

@@ -79,6 +79,9 @@ export default {
case 'account_template':
url = '/api/v1/accounts/account-templates/'
break
case 'label':
url = '/api/v1/labels/labels/'
break
case 'name_strategy':
options = this.nameOptions
break

View File

@@ -6,6 +6,7 @@ export const resourceTypeOptions = [
{ label: i18n.t('Node'), value: 'node' },
{ label: i18n.t('Zone'), value: 'domain' },
{ label: i18n.t('AccountTemplate'), value: 'account_template' },
{ label: i18n.t('Tags'), value: 'label' },
{ label: i18n.t('Strategy'), value: 'name_strategy' }
]