Browse Source

修复部分问题

main
likunming 4 months ago
parent
commit
260e90f4b6
  1. 4
      io.sc.platform.core.frontend/src/platform/components/grid/CellEditor.vue
  2. 4
      io.sc.platform.core.frontend/src/platform/components/grid/GridEditor.vue
  3. 1
      io.sc.platform.core.frontend/src/platform/i18n/messages.json
  4. 1
      io.sc.platform.core.frontend/src/platform/i18n/messages_tw_CN.json
  5. 1
      io.sc.platform.core.frontend/src/platform/i18n/messages_zh_CN.json

4
io.sc.platform.core.frontend/src/platform/components/grid/CellEditor.vue

@ -47,8 +47,8 @@ const dialog = {
buttons: [ buttons: [
{ {
icon: 'beenhere', icon: 'beenhere',
labelI18nKey: props.grid.props.localMode ? 'action.confirm' : 'action.submit', labelI18nKey: props.grid.props.localMode ? 'confirm' : 'action.submit',
label: t(props.grid.props.localMode ? 'action.confirm' : 'action.submit'), label: t(props.grid.props.localMode ? 'confirm' : 'action.submit'),
loading: false, loading: false,
click: async () => { click: async () => {
dialog.buttons[0].loading = true; dialog.buttons[0].loading = true;

4
io.sc.platform.core.frontend/src/platform/components/grid/GridEditor.vue

@ -153,8 +153,8 @@ const dialog = reactive({
dialogButtons: [ dialogButtons: [
{ {
icon: 'beenhere', icon: 'beenhere',
labelI18nKey: props.grid.props.localMode ? 'action.confirm' : 'action.submit', labelI18nKey: props.grid.props.localMode ? 'confirm' : 'action.submit',
label: t(props.grid.props.localMode ? 'action.confirm' : 'action.submit'), label: t(props.grid.props.localMode ? 'confirm' : 'action.submit'),
loading: false, loading: false,
click: () => { click: () => {
save(); save();

1
io.sc.platform.core.frontend/src/platform/i18n/messages.json

@ -142,7 +142,6 @@
"action.export": "Export", "action.export": "Export",
"action.export.failed": "Export Failed", "action.export.failed": "Export Failed",
"action.submit": "Submit", "action.submit": "Submit",
"action.confirm": "Confirm",
"action.expandAll": "Expand All", "action.expandAll": "Expand All",
"action.collapseAll": "Collapse All", "action.collapseAll": "Collapse All",

1
io.sc.platform.core.frontend/src/platform/i18n/messages_tw_CN.json

@ -142,7 +142,6 @@
"action.export": "導出", "action.export": "導出",
"action.export.failed": "導出失敗", "action.export.failed": "導出失敗",
"action.submit": "提交", "action.submit": "提交",
"action.confirm": "确定",
"action.expandAll": "全部展开", "action.expandAll": "全部展开",
"action.collapseAll": "全部收起", "action.collapseAll": "全部收起",

1
io.sc.platform.core.frontend/src/platform/i18n/messages_zh_CN.json

@ -142,7 +142,6 @@
"action.export": "导出", "action.export": "导出",
"action.export.failed": "导出失败", "action.export.failed": "导出失败",
"action.submit": "提交", "action.submit": "提交",
"action.confirm": "确定",
"action.expandAll": "全部展开", "action.expandAll": "全部展开",
"action.collapseAll": "全部收起", "action.collapseAll": "全部收起",

Loading…
Cancel
Save