mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
fix: remove redundant code
This commit is contained in:
parent
92a22db7ca
commit
bf92e7e45a
@ -22,9 +22,8 @@ service.interceptors.request.use(
|
|||||||
service.interceptors.response.use(res => {
|
service.interceptors.response.use(res => {
|
||||||
if (res.data.success) {
|
if (res.data.success) {
|
||||||
return res.data;
|
return res.data;
|
||||||
} else {
|
|
||||||
console.log(res);
|
|
||||||
}
|
}
|
||||||
|
console.log(res);
|
||||||
return Promise.reject(res.data);
|
return Promise.reject(res.data);
|
||||||
}, error => Promise.reject(error));
|
}, error => Promise.reject(error));
|
||||||
|
|
||||||
|
@ -24,6 +24,5 @@ export function solveHtml() {
|
|||||||
preserveImportant: true
|
preserveImportant: true
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
// console.log(res);
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
import { shallowMount } from '@vue/test-utils'
|
|
||||||
import HelloWorld from '@/components/HelloWorld.vue'
|
|
||||||
|
|
||||||
describe('HelloWorld.vue', () => {
|
|
||||||
|
|
||||||
})
|
|
Loading…
Reference in New Issue
Block a user