mooho-base-admin-plus 0.4.8 → 0.4.9

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mooho-base-admin-plus",
3
3
  "description": "MOOHO basic framework for admin by Vue3",
4
- "version": "0.4.8",
4
+ "version": "0.4.9",
5
5
  "author": "jinyifan <jinyifan@mooho.com.cn>",
6
6
  "dotnetVersion": "1.4.0",
7
7
  "license": "MIT",
@@ -282,7 +282,11 @@ export default {
282
282
  return value ? '<i class="fa fa-check info"></i>' : '';
283
283
  }
284
284
  } else if (dataType === 'String') {
285
- return value;
285
+ if (this.layout.showI18n) {
286
+ return this.tParam(value);
287
+ } else {
288
+ return value;
289
+ }
286
290
  } else {
287
291
  return value;
288
292
  }
@@ -71,7 +71,9 @@
71
71
  >
72
72
  发表意见
73
73
  </Button>
74
- <Button type="info" custom-icon="fa fa-history" @click="$refs.approvalHistoryTable.open({ processInstID: $refs.showForm.data.application.processInstID })">历史</Button>
74
+ <Button type="info" custom-icon="fa fa-history" @click="$refs.approvalHistoryTable.open({ processInstID: $refs.showForm.data.application.processInstID })">
75
+ {{ $t('Front_Btn_History') }}
76
+ </Button>
75
77
  </template>
76
78
  </modal-form>
77
79
  <modal-table ref="approvalHistoryTable" view-code="ApprovalHistoryModal"></modal-table>