Commit ad0f9215b46ad38987a48331bf73703f09a199af

Authored by Min
1 parent e5416ae5

1.修复用户权限的多语言翻译

src/components/Common/CommonJurisdictionNewEvent.js
... ... @@ -348,7 +348,6 @@ export default (ChildComponent) => {
348 348 }
349 349 // 模拟config的 gdsconfigformslave 配置
350 350 imitateTableConfig = (title, dataIndex, width) => {
351   - console.log('222app',this.props.app);
352 351 const {userinfo} = this.props.app;
353 352 return {
354 353 bCanInput: false,
... ... @@ -372,8 +371,8 @@ export default (ChildComponent) => {
372 371 sId: commonUtils.createSid(),
373 372 sParentId: '11811781131121915102156308120',
374 373 sSubsidiaryId: '1111111111',
375   - showName: dataIndex,
376   - sName: userinfo.sLanguage === 'sEnglish' ? dataIndex : title,
  374 + showName: userinfo.sLanguage === 'sEnglish' ? dataIndex : title,
  375 + sName: dataIndex,
377 376 };
378 377 }
379 378 // 根据模拟列,模拟列配置
... ...