diff --git a/resources/beike/admin/views/pages/products/index.blade.php b/resources/beike/admin/views/pages/products/index.blade.php
index 7fdd29c5..d39255c1 100644
--- a/resources/beike/admin/views/pages/products/index.blade.php
+++ b/resources/beike/admin/views/pages/products/index.blade.php
@@ -54,8 +54,8 @@
-
-
+
+
@@ -126,13 +126,13 @@
@endif
- 编辑
+ {{ __('common.edit') }}
删除
+ @click.prevent="deleteProduct(index)">{{ __('common.delete') }}
恢复
+ @click.prevent="restoreProduct(index)">{{ __('common.restore') }}
|
diff --git a/resources/lang/en/common.php b/resources/lang/en/common.php
index 48cb352d..e8f06841 100644
--- a/resources/lang/en/common.php
+++ b/resources/lang/en/common.php
@@ -36,6 +36,8 @@ return [
'sign_out' => 'Sign Out',
'contact_us' => 'Contact us',
'input' => 'Type your search here',
+ 'filter' => 'Filter',
+ 'reset' => 'Reset',
'edit' => 'Edit',
'action' => 'Action',
'add' => 'Add',
diff --git a/resources/lang/zh_cn/common.php b/resources/lang/zh_cn/common.php
index 520504f1..dd84d95f 100644
--- a/resources/lang/zh_cn/common.php
+++ b/resources/lang/zh_cn/common.php
@@ -35,6 +35,8 @@ return [
'sign_out' => '退出登录',
'contact_us' => '联系我们',
'input' => '在此处输入您的搜索',
+ 'filter' => '筛选',
+ 'reset' => '重置',
'edit' => '编辑',
'action' => '操作',
'add' => '添加',