新增页面,国际化
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
if (!this.val2 || !this.val3) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._boxIn()
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
if (!this.val2 || !this.val3) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._updateWeight()
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
if (!this.val2 || !this.val3) {
|
||||
return
|
||||
}
|
||||
const isConfirmed = await confirmAction("确认操作", "确定要执行此操作吗?")
|
||||
const isConfirmed = await confirmAction(this.$t('toast.prompt'), this.$t('toast.sure-perform-operation'))
|
||||
if (isConfirmed) {
|
||||
this._updatePoint()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user