修复删除税类提示框中的语言未翻译 -> https://guangdagit.com/beike/beikeshop/issues/248

This commit is contained in:
pushuo 2022-09-10 20:29:42 +08:00 committed by Edward Yang
parent b1fc78e6cb
commit f399bd04cb
1 changed files with 4 additions and 4 deletions

View File

@ -175,7 +175,7 @@
this.$refs[form].validate((valid) => {
if (!valid) {
this.$message.error('请检查表单是否填写正确');
this.$message.error('{{ __('common.error_form') }}');
return;
}
@ -194,9 +194,9 @@
deleteCustomer(id, index) {
const self = this;
this.$confirm('确定要删除税类吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
this.$confirm('{{ __('common.confirm_delete') }}', '{{ __('common.text_hint') }}', {
confirmButtonText: '{{ __('common.confirm') }}',
cancelButtonText: '{{ __('common.cancel') }}',
type: 'warning'
}).then(() => {
$http.delete('tax_classes/' + id).then((res) => {