@@ -5,8 +5,8 @@ export default {
getList (params) {
return request({
url: process.env.VUE_APP_API + 'information/getpagelist',
- method: 'get',
- params: params
+ method: 'post',
+ data: params
})
},
@@ -97,6 +97,9 @@ service.interceptors.response.use(
// 有 code 代表这是一个后端接口 可以进行进一步的判断
switch (code) {
case 0:
+ if (dataAxios.msg === 'ok') {
+ break
+ }
noticeMsg(dataAxios, 'success')
// [ 示例 ] code === 0 代表没有错误
if (dataAxios.data) {