删除上个版本的代码
Former-commit-id: 6bda49593a2b4816ad2b4b947fa353c6240b2a06
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import Vue from 'vue'
|
||||
import axios from 'axios'
|
||||
|
||||
axios.interceptors.response.use(res => {
|
||||
return res.data
|
||||
}, err => {
|
||||
return Promise.reject(err)
|
||||
})
|
||||
|
||||
Vue.prototype.$axios = axios
|
||||
@@ -1,8 +0,0 @@
|
||||
export default {
|
||||
install (Vue, options) {
|
||||
// 打开一个url
|
||||
Vue.prototype.$open = (url = 'https://github.com/d2-projects') => {
|
||||
window.open(url)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user