cyc remove log
This commit is contained in:
parent
29beaa6ec8
commit
3d05276026
10
src/main.js
10
src/main.js
@ -29,18 +29,18 @@ router.beforeEach((to,from,next)=>{
|
|||||||
var isTrial = to.query.isTrial
|
var isTrial = to.query.isTrial
|
||||||
if (apikey){
|
if (apikey){
|
||||||
setStore('apikey',apikey)
|
setStore('apikey',apikey)
|
||||||
console.log(apikey)
|
// console.log(apikey)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (userId){
|
if (userId){
|
||||||
setStore('userId',userId)
|
setStore('userId',userId)
|
||||||
console.log(userId)
|
// console.log(userId)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (userType){
|
if (userType){
|
||||||
setStore('userType',userType)
|
setStore('userType',userType)
|
||||||
console.log(userType)
|
// console.log(userType)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -64,8 +64,8 @@ router.beforeEach((to,from,next)=>{
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(to)
|
// console.log(to)
|
||||||
console.log(from)
|
// console.log(from)
|
||||||
next()
|
next()
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
@ -317,7 +317,6 @@ export const processReuestData =(data)=>{
|
|||||||
data.apikey = "HT_6d671a62c1d668161552616453";
|
data.apikey = "HT_6d671a62c1d668161552616453";
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('apikey=='+data.apikey)
|
|
||||||
|
|
||||||
// userId
|
// userId
|
||||||
// let userId = getStore("userId");
|
// let userId = getStore("userId");
|
||||||
|
|||||||
@ -74,9 +74,7 @@ export default async (options = { method: "GET" }) => {
|
|||||||
let key2 = key1.join("&");
|
let key2 = key1.join("&");
|
||||||
let key3 = key2 + "&" + time + "&" + "HuaTeng987!@#";
|
let key3 = key2 + "&" + time + "&" + "HuaTeng987!@#";
|
||||||
|
|
||||||
console.log('-------------')
|
|
||||||
console.log(key3)
|
|
||||||
console.log('-------------')
|
|
||||||
|
|
||||||
// console.log(data)
|
// console.log(data)
|
||||||
|
|
||||||
@ -91,7 +89,7 @@ export default async (options = { method: "GET" }) => {
|
|||||||
data.apikey = "HT_6d671a62c1d668161552616453";
|
data.apikey = "HT_6d671a62c1d668161552616453";
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('apikey=='+data.apikey)
|
// console.log('apikey=='+data.apikey)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -121,7 +119,7 @@ export default async (options = { method: "GET" }) => {
|
|||||||
//
|
//
|
||||||
try {
|
try {
|
||||||
|
|
||||||
console.log(options.url)
|
// console.log(options.url)
|
||||||
|
|
||||||
|
|
||||||
const res = await axios({
|
const res = await axios({
|
||||||
@ -133,8 +131,8 @@ export default async (options = { method: "GET" }) => {
|
|||||||
headers: myheaders,
|
headers: myheaders,
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log('1111')
|
// console.log('1111')
|
||||||
console.log(options.url)
|
// console.log(options.url)
|
||||||
|
|
||||||
|
|
||||||
// code ==! 200 报错
|
// code ==! 200 报错
|
||||||
@ -152,7 +150,7 @@ export default async (options = { method: "GET" }) => {
|
|||||||
// } else {
|
// } else {
|
||||||
// console.error(`Error: Received status code ${error.response.status}`);
|
// console.error(`Error: Received status code ${error.response.status}`);
|
||||||
// }
|
// }
|
||||||
console.log(error.response)
|
// console.log(error.response)
|
||||||
} else if (error.request) {
|
} else if (error.request) {
|
||||||
// 请求已发出但没有收到响应
|
// 请求已发出但没有收到响应
|
||||||
console.error('No response received:', error.request);
|
console.error('No response received:', error.request);
|
||||||
|
|||||||
@ -154,7 +154,7 @@ export default {
|
|||||||
|
|
||||||
// resourcesList({})
|
// resourcesList({})
|
||||||
|
|
||||||
console.log(this.bookId)
|
// console.log(this.bookId)
|
||||||
|
|
||||||
// var locationData = await bookApi.userAction.getReadLocation({bookId:this.bookId})
|
// var locationData = await bookApi.userAction.getReadLocation({bookId:this.bookId})
|
||||||
// this.location = locationData.location
|
// this.location = locationData.location
|
||||||
@ -176,7 +176,7 @@ export default {
|
|||||||
|
|
||||||
this.basisPath = this.textBookData.basisPath
|
this.basisPath = this.textBookData.basisPath
|
||||||
this.catalogList = await bookApi.bookinfo.category({bookId:this.bookId})
|
this.catalogList = await bookApi.bookinfo.category({bookId:this.bookId})
|
||||||
// this.looseLeafData = await bookApi.bookinfo.data({bookId:this.bookId})
|
this.looseLeafData = await bookApi.bookinfo.data({bookId:this.bookId})
|
||||||
this.show = true
|
this.show = true
|
||||||
this.fullscreenLoading = false
|
this.fullscreenLoading = false
|
||||||
|
|
||||||
@ -185,7 +185,7 @@ export default {
|
|||||||
this.digitalTeaching = true
|
this.digitalTeaching = true
|
||||||
|
|
||||||
if (this.$route.query.chapterId){
|
if (this.$route.query.chapterId){
|
||||||
this.chapterId = this.$route.query.chapterI
|
this.chapterId = this.$route.query.chapterId
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@ -15,7 +15,7 @@ export default {
|
|||||||
HelloWorld
|
HelloWorld
|
||||||
},
|
},
|
||||||
mounted(){
|
mounted(){
|
||||||
console.log(111111111111111)
|
// console.log(111111111111111)
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,14 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
configureWebpack: {
|
|
||||||
devtool: 'source-map'
|
configureWebpack:(config)=>{
|
||||||
|
config.devtool = 'source-map'
|
||||||
|
// config.stats = 'errors-warings'
|
||||||
|
// config.plugins.push(
|
||||||
|
// new webpack.ProgressPlugin({
|
||||||
|
// handler:() => {},
|
||||||
|
// })
|
||||||
|
// )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user