@oinone/kunlun-vue-admin-layout 7.1.0 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,10 @@
1
- import { ActionType, ActionContextType, ViewType, ViewMode, ViewActionTarget, deepClone } from '@oinone/kunlun-meta';
2
- import { type DslDefinition, XMLParse, DslDefinitionType } from '@oinone/kunlun-dsl';
3
- import { MultiTabsRuntimeManifestMergedConfigManager, type RuntimeViewAction } from '@oinone/kunlun-engine';
1
+ import { type DslDefinition, DslDefinitionType, XMLParse } from '@oinone/kunlun-dsl';
2
+ import {
3
+ MultiTabsRuntimeManifestMergedConfigManager,
4
+ type RuntimeViewAction,
5
+ translateValueByKey
6
+ } from '@oinone/kunlun-engine';
7
+ import { ActionContextType, ActionType, deepClone, ViewActionTarget, ViewMode, ViewType } from '@oinone/kunlun-meta';
4
8
  import { getDefaultMaskTemplate } from '../template';
5
9
 
6
10
  function findNodeByType(dsl: DslDefinition, dslNodeType: DslDefinitionType | string): DslDefinition | null {
@@ -75,7 +79,7 @@ export const getUnauthorizedAction = ({
75
79
  const _model = model || emptyHomepageModelName;
76
80
 
77
81
  return {
78
- title: title || '无权限访问',
82
+ title: translateValueByKey(title || '无权限访问'),
79
83
  moduleName,
80
84
  model: _model,
81
85
  modelName: unauthorizedActionName,