fix: remove redundant code

This commit is contained in:
yanglbme 2020-05-03 08:51:09 +08:00
parent 92a22db7ca
commit bf92e7e45a
3 changed files with 1 additions and 9 deletions

View File

@ -22,9 +22,8 @@ service.interceptors.request.use(
service.interceptors.response.use(res => {
if (res.data.success) {
return res.data;
} else {
console.log(res);
}
console.log(res);
return Promise.reject(res.data);
}, error => Promise.reject(error));

View File

@ -24,6 +24,5 @@ export function solveHtml() {
preserveImportant: true
}
);
// console.log(res);
return res;
}

View File

@ -1,6 +0,0 @@
import { shallowMount } from '@vue/test-utils'
import HelloWorld from '@/components/HelloWorld.vue'
describe('HelloWorld.vue', () => {
})