足迹收藏报错

This commit is contained in:
xuwenbo
2020-09-03 14:39:43 +08:00
parent ff9668870b
commit ae204bf1bd
2 changed files with 3 additions and 1 deletions

View File

@ -116,6 +116,7 @@ export default {
methods: {
// 获取数据前设置好接口地址
[CRUD.HOOK.beforeRefresh]() {
const query = this.query
this.crud.params[query.type] = 'collect'
return true
}, // 新增与编辑前做的操作