@@ -15,18 +15,14 @@ export const actions = {
let result;
if (type === 'list') {
let { schid, is_practice, ...searchInfo } = data;
- result = await this.$axios.$get(
- api.list,
- {},
- {
- schid: schid,
- is_practice: is_practice,
- skip: skip,
- limit: limit,
- status: 1,
- ...searchInfo,
- }
- );
+ result = await this.$axios.$get(api.list, {
+ schid: schid,
+ is_practice: is_practice,
+ skip: skip,
+ limit: limit,
+ status: 1,
+ ...searchInfo,
+ });
}
if (type === 'search') {
let { id } = data;