diff --git a/back/src/views/modules/sys/post.vue b/back/src/views/modules/sys/post.vue
index c35a8a87..fd018ec1 100644
--- a/back/src/views/modules/sys/post.vue
+++ b/back/src/views/modules/sys/post.vue
@@ -9,22 +9,31 @@
-
+
{{ $t('query') }}
- {{ $t('add') }}
+ {{ $t('add') }}
+
- {{ $t('deleteBatch') }}
+ {{ $t('deleteBatch')
+ }}
+
+
+ {{ $t('reset') }}
+
-
+
-
-
+
+
+
+
@@ -33,18 +42,15 @@
- {{ $t('update') }}
- {{ $t('delete') }}
+ {{ $t('update') }}
+ {{ $t('delete') }}
-
@@ -58,7 +64,7 @@ import mixinViewModule from '@/mixins/view-module'
import AddOrUpdate from './post-add-or-update'
export default {
mixins: [mixinViewModule],
- data () {
+ data() {
return {
mixinViewModuleOptions: {
getDataListURL: '/sys/post/page',
@@ -77,6 +83,14 @@ export default {
},
components: {
AddOrUpdate
+ },
+ methods: {
+ resetHandle() {
+ Object.keys(this.dataForm).map(v => this.dataForm[v] = '')
+ this.$nextTick(() => {
+ this.getDataList()
+ })
+ },
}
}