[ui] small changes

This commit is contained in:
Alireza Ahmadi
2024-02-18 23:00:37 +01:00
parent 2520994b13
commit f4c565b208
10 changed files with 20 additions and 27 deletions

View File

@@ -10,7 +10,7 @@
title: '',
visible: false,
confirmLoading: false,
okText: '{{ i18n "sure" }}',
okText: '{{ i18n "confirm" }}',
isEdit: false,
confirm: null,
inbound: new Inbound(),
@@ -18,7 +18,7 @@
ok() {
ObjectUtil.execute(inModal.confirm, inModal.inbound, inModal.dbInbound);
},
show({ title='', okText='{{ i18n "sure" }}', inbound=null, dbInbound=null, confirm=(inbound, dbInbound)=>{}, isEdit=false }) {
show({ title='', okText='{{ i18n "confirm" }}', inbound=null, dbInbound=null, confirm=(inbound, dbInbound)=>{}, isEdit=false }) {
this.title = title;
this.okText = okText;
if (inbound) {