修复后台 page 页面多语言

This commit is contained in:
pushuo 2022-09-08 16:12:00 +08:00
parent 38f050bb54
commit 219b1e0ecf
1 changed files with 3 additions and 3 deletions

View File

@ -64,9 +64,9 @@
const id = $(this).data('id');
const self = $(this);
layer.confirm('确定要删除页面吗?', {
title: "提示",
btn: ['取消', '确定'],
layer.confirm('{{ __('common.confirm_delete') }}', {
title: "{{ __('common.text_hint') }}",
btn: ['{{ __('common.cancel') }}', '{{ __('common.confirm') }}'],
area: ['400px'],
btn2: () => {
$http.delete(`pages/${id}`).then((res) => {