Skip to content

Commit

Permalink
Merge pull request #6883 from ioito/hotfix/qx-remove-useless-code
Browse files Browse the repository at this point in the history
fix: remove useless cache code
  • Loading branch information
GuoLiBin6 authored Jul 5, 2024
2 parents 85f2c84 + e656fb1 commit df2359c
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 479 deletions.
15 changes: 0 additions & 15 deletions containers/IAM/views/policy/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ export const RESOURCES_MAP = {
secgroups: {
i18n: 'system.text_97',
},
secgroupcaches: {
i18n: 'dictionary.secgroupcache',
},
eips: {
i18n: 'system.text_92',
},
Expand Down Expand Up @@ -495,9 +492,6 @@ export const RESOURCES_MAP = {
cloudpolicies: {
i18n: 'dictionary.cloudpolicy',
},
cloudgroupcaches: {
i18n: 'dictionary.cloudgroupcache',
},
commonalerts: {
i18n: 'dictionary.commonalert',
},
Expand All @@ -510,9 +504,6 @@ export const RESOURCES_MAP = {
dns_recordsets: {
i18n: 'dictionary.dns_recordsets',
},
dns_zonecaches: {
i18n: 'dictionary.dns_zonecaches',
},
rbacclusterroles: {
i18n: 'dictionary.rbacclusterroles',
},
Expand Down Expand Up @@ -591,9 +582,6 @@ export const RESOURCES_MAP = {
access_groups: {
i18n: 'dictionary.access_group',
},
access_group_caches: {
i18n: 'dictionary.access_group_cache',
},
access_group_rules: {
i18n: 'dictionary.access_group_rule',
},
Expand All @@ -609,9 +597,6 @@ export const RESOURCES_MAP = {
exchange_rates: {
i18n: 'dictionary.billing_exchange_rates',
},
snapshotpolicycaches: {
i18n: 'dictionary.snapshotpolicycaches',
},
webapps: {
i18n: 'dictionary.webapp',
},
Expand Down
10 changes: 0 additions & 10 deletions containers/Network/views/dns-zone/sidepage/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import SidePageMixin from '@/mixins/sidePage'
import WindowsMixin from '@/mixins/windows'
import Actions from '@/components/PageList/Actions'
import DnsRecordsetListForDnsZoneSidepage from '@Network/views/dns-recordset/components/List'
import DnsZonecacheListForDnsZoneSidepage from '@Network/views/dns-zonecache/components/List'
export default {
name: 'DnsZoneSidePage',
Expand All @@ -46,7 +45,6 @@ export default {
Actions,
DnsRecordsetListForDnsZoneSidepage,
DnsAssociateVpcList,
DnsZonecacheListForDnsZoneSidepage,
},
mixins: [SidePageMixin, WindowsMixin, ColumnsMixin, SingleActionsMixin],
data () {
Expand All @@ -58,7 +56,6 @@ export default {
const detailTabs = [
{ label: this.$t('network.text_67'), key: 'dns-zone-detail' },
{ label: this.$t('common_663'), key: 'dns-recordset-list-for-dns-zone-sidepage' },
// { label: this.$t('network.text_316'), key: 'dns-zonecache-list-for-dns-zone-sidepage' },
{ label: this.$t('network.text_150'), key: 'event-drawer' },
]
if (data.cloud_env === 'public' && data.zone_type === 'PrivateZone') {
Expand All @@ -77,11 +74,6 @@ export default {
detail: true,
dns_zone_id: this.detailData.id,
}
} else if (this.params.windowData.currentTab === 'dns-zonecache-list-for-dns-zone-sidepage') {
return {
detail: true,
dns_zone_id: this.detailData.id,
}
}
return null
},
Expand All @@ -91,8 +83,6 @@ export default {
return 'EventListForDnsZoneSidePage'
case 'dns-recordset-list-for-dns-zone-sidepage':
return 'DnsRecordsetListForDnsZoneSidePage'
case 'dns-zonecache-list-for-dns-zone-sidepage':
return 'DnsZonecacheListForDnsZoneSidePage'
case 'dns-associate-vpc-list':
return 'DnsAssociateListForDnsZoneSidePage'
default:
Expand Down
102 changes: 0 additions & 102 deletions containers/Network/views/dns-zonecache/components/List.vue

This file was deleted.

123 changes: 0 additions & 123 deletions containers/Network/views/dns-zonecache/dialogs/Create.vue

This file was deleted.

24 changes: 0 additions & 24 deletions containers/Network/views/dns-zonecache/index.vue

This file was deleted.

35 changes: 0 additions & 35 deletions containers/Network/views/dns-zonecache/mixins/columns.js

This file was deleted.

Loading

0 comments on commit df2359c

Please sign in to comment.