diff --git a/src/components/ListTable/formatters/DeleteActionFormatter.vue b/src/components/ListTable/formatters/DeleteActionFormatter.vue new file mode 100644 index 000000000..8c6943997 --- /dev/null +++ b/src/components/ListTable/formatters/DeleteActionFormatter.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/src/components/ListTable/formatters/index.js b/src/components/ListTable/formatters/index.js index a2235da5b..66ca66727 100644 --- a/src/components/ListTable/formatters/index.js +++ b/src/components/ListTable/formatters/index.js @@ -8,6 +8,7 @@ import RouterFormatter from './RouterFormatter' import OutputExpandFormatter from './OutputExpandFormatter' import ExpandAssetPermissionFormatter from './ExpandAssetPermissionFormatter' import CustomActionsFormatter from './CustomActionsFormatter' +import DeleteActionFormatter from './DeleteActionFormatter' export default { DetailFormatter, @@ -19,7 +20,8 @@ export default { RouterFormatter, OutputExpandFormatter, ExpandAssetPermissionFormatter, - CustomActionsFormatter + CustomActionsFormatter, + DeleteActionFormatter } export { @@ -32,5 +34,6 @@ export { RouterFormatter, OutputExpandFormatter, ExpandAssetPermissionFormatter, - CustomActionsFormatter + CustomActionsFormatter, + DeleteActionFormatter } diff --git a/src/components/index.js b/src/components/index.js index 07976b9d0..21bb26775 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -16,3 +16,4 @@ export { default as ActiveCard } from './ActiveCard' export { default as Select2 } from './Select2' export { default as SvgIcon } from './SvgIcon' export { default as TreeTable } from './TreeTable' + diff --git a/src/i18n/langs/cn.js b/src/i18n/langs/cn.js index fd19bed26..94063c84a 100644 --- a/src/i18n/langs/cn.js +++ b/src/i18n/langs/cn.js @@ -349,6 +349,9 @@ const cn = { 'RefreshPermissionCache': '刷新授权缓存', 'ReFreshSuccess': '刷新成功', 'ReFreshFail': '刷新失败', + 'IsValid': '有效', + 'IP': 'IP', + 'Hostname': '主机名', 'All': '全部', 'Connect': '连接', 'UpDownload': '上传下载', diff --git a/src/views/perms/AssetPermissionAsset.vue b/src/views/perms/AssetPermissionAsset.vue index 9d2e1d01a..3e760df7a 100644 --- a/src/views/perms/AssetPermissionAsset.vue +++ b/src/views/perms/AssetPermissionAsset.vue @@ -14,6 +14,7 @@