ecinc-cloud-wappaio 9.6.415 → 9.6.416
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.
package/lib/ecwappaio.common.js
CHANGED
|
@@ -9039,9 +9039,11 @@ function $tx(expression, variables, defaultText) {
|
|
|
9039
9039
|
function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
|
|
9040
9040
|
$scope = $scope || this;
|
|
9041
9041
|
if ($scope.$i18n && $scope.$i18n.locale === 'zhCN') {
|
|
9042
|
-
|
|
9042
|
+
//中文,按钮、列表标题,忽略语言包
|
|
9043
9043
|
if (meta.btnName && meta.btnName.indexOf('.') === -1) {
|
|
9044
9044
|
return meta.btnName;
|
|
9045
|
+
} else if (meta.field && meta.title) {
|
|
9046
|
+
return meta.title;
|
|
9045
9047
|
}
|
|
9046
9048
|
}
|
|
9047
9049
|
if (meta.i18nCode && meta.i18nCode.indexOf('.') !== -1 && $scope.$te(meta.i18nCode)) {
|
package/lib/ecwappaio.umd.js
CHANGED
|
@@ -9049,9 +9049,11 @@ function $tx(expression, variables, defaultText) {
|
|
|
9049
9049
|
function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
|
|
9050
9050
|
$scope = $scope || this;
|
|
9051
9051
|
if ($scope.$i18n && $scope.$i18n.locale === 'zhCN') {
|
|
9052
|
-
|
|
9052
|
+
//中文,按钮、列表标题,忽略语言包
|
|
9053
9053
|
if (meta.btnName && meta.btnName.indexOf('.') === -1) {
|
|
9054
9054
|
return meta.btnName;
|
|
9055
|
+
} else if (meta.field && meta.title) {
|
|
9056
|
+
return meta.title;
|
|
9055
9057
|
}
|
|
9056
9058
|
}
|
|
9057
9059
|
if (meta.i18nCode && meta.i18nCode.indexOf('.') !== -1 && $scope.$te(meta.i18nCode)) {
|