クロップ時の質問を分かりやすく
This commit is contained in:
parent
b3e8671dd9
commit
adad4bcfe3
4 changed files with 12 additions and 2 deletions
|
@ -150,6 +150,8 @@ function changeAvatar(ev) {
|
|||
const { canceled } = await os.confirm({
|
||||
type: 'question',
|
||||
text: i18n.t('cropImageAsk'),
|
||||
okText: i18n.ts.cropYes,
|
||||
cancelText: i18n.ts.cropNo,
|
||||
});
|
||||
|
||||
if (!canceled) {
|
||||
|
@ -174,6 +176,8 @@ function changeBanner(ev) {
|
|||
const { canceled } = await os.confirm({
|
||||
type: 'question',
|
||||
text: i18n.t('cropImageAsk'),
|
||||
okText: i18n.ts.cropYes,
|
||||
cancelText: i18n.ts.cropNo,
|
||||
});
|
||||
|
||||
if (!canceled) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue