|
@@ -22434,16 +22434,18 @@ define(['exports', 'axios', 'qs', 'lodash', 'jquery', 'moment', 'recast', 'xlsx'
|
|
process.call(me_1, me_1, config);
|
|
process.call(me_1, me_1, config);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- if (!config.i18nPath && ((_a = config.$initParent) === null || _a === void 0 ? void 0 : _a.i18nPath)) {
|
|
|
|
- config.i18nPath = config.$initParent.i18nPath;
|
|
|
|
- }
|
|
|
|
- var WMSTranslate = window["WMSTranslate"];
|
|
|
|
- if (WMSTranslate) {
|
|
|
|
- if (typeof window['viewTranslate'] === 'function') {
|
|
|
|
- window['viewTranslate'](config, config.text, "text");
|
|
|
|
- window['viewTranslate'](config, config.title, "title");
|
|
|
|
- window['viewTranslate'](config, config.header, "header");
|
|
|
|
- window['viewTranslate'](config, config.fieldLabel, "fieldLabel");
|
|
|
|
|
|
+ if (config) {
|
|
|
|
+ if (!config.i18nPath && ((_a = config.$initParent) === null || _a === void 0 ? void 0 : _a.i18nPath)) {
|
|
|
|
+ config.i18nPath = config.$initParent.i18nPath;
|
|
|
|
+ }
|
|
|
|
+ var WMSTranslate = window["WMSTranslate"];
|
|
|
|
+ if (WMSTranslate) {
|
|
|
|
+ if (typeof window['viewTranslate'] === 'function') {
|
|
|
|
+ window['viewTranslate'](config, config.text, "text");
|
|
|
|
+ window['viewTranslate'](config, config.title, "title");
|
|
|
|
+ window['viewTranslate'](config, config.header, "header");
|
|
|
|
+ window['viewTranslate'](config, config.fieldLabel, "fieldLabel");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
ct.call(this, config);
|
|
ct.call(this, config);
|