mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-13 22:09:00 +08:00
♻️ 重构代码。 简化菜单配置
This commit is contained in:
1 parent
572a3de60f
commit
401f25319c
7 files changed
+8
-33
No files matched your search
@@ -35,19 +35,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
fetchList,
|
||||
getObj,
|
||||
addObj,
|
||||
putObj,
|
||||
delObj
|
||||
} from '@/api/${pathName}'
|
||||
import {
|
||||
tableOption
|
||||
} from '@/const/crud/${pathName}'
|
||||
import {
|
||||
mapGetters
|
||||
} from 'vuex'
|
||||
import {fetchList, getObj, addObj, putObj, delObj} from '@/api/${pathName}'
|
||||
import {tableOption} from '@/const/crud/${pathName}'
|
||||
import {mapGetters} from 'vuex'
|
||||
|
||||
export default {
|
||||
name: '${pathName}',
|
||||
@@ -150,7 +140,7 @@
|
||||
* 搜索回调
|
||||
*/
|
||||
searchChange(form) {
|
||||
this.getList(this.page, this.filterForm(form))
|
||||
this.getList(this.page, form)
|
||||
},
|
||||
/**
|
||||
* 刷新回调
|
||||
|
||||
Reference in new issue
Block a user