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
|
||||
if (apikey){
|
||||
setStore('apikey',apikey)
|
||||
console.log(apikey)
|
||||
// console.log(apikey)
|
||||
}
|
||||
|
||||
if (userId){
|
||||
setStore('userId',userId)
|
||||
console.log(userId)
|
||||
// console.log(userId)
|
||||
}
|
||||
|
||||
|
||||
if (userType){
|
||||
setStore('userType',userType)
|
||||
console.log(userType)
|
||||
// console.log(userType)
|
||||
}
|
||||
|
||||
|
||||
@ -64,8 +64,8 @@ router.beforeEach((to,from,next)=>{
|
||||
return
|
||||
}
|
||||
|
||||
console.log(to)
|
||||
console.log(from)
|
||||
// console.log(to)
|
||||
// console.log(from)
|
||||
next()
|
||||
|
||||
})
|
||||
|
||||
@ -317,7 +317,6 @@ export const processReuestData =(data)=>{
|
||||
data.apikey = "HT_6d671a62c1d668161552616453";
|
||||
}
|
||||
|
||||
console.log('apikey=='+data.apikey)
|
||||
|
||||
// userId
|
||||
// let userId = getStore("userId");
|
||||
|
||||
@ -74,9 +74,7 @@ export default async (options = { method: "GET" }) => {
|
||||
let key2 = key1.join("&");
|
||||
let key3 = key2 + "&" + time + "&" + "HuaTeng987!@#";
|
||||
|
||||
console.log('-------------')
|
||||
console.log(key3)
|
||||
console.log('-------------')
|
||||
|
||||
|
||||
// console.log(data)
|
||||
|
||||
@ -91,7 +89,7 @@ export default async (options = { method: "GET" }) => {
|
||||
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 {
|
||||
|
||||
console.log(options.url)
|
||||
// console.log(options.url)
|
||||
|
||||
|
||||
const res = await axios({
|
||||
@ -133,8 +131,8 @@ export default async (options = { method: "GET" }) => {
|
||||
headers: myheaders,
|
||||
});
|
||||
|
||||
console.log('1111')
|
||||
console.log(options.url)
|
||||
// console.log('1111')
|
||||
// console.log(options.url)
|
||||
|
||||
|
||||
// code ==! 200 报错
|
||||
@ -152,7 +150,7 @@ export default async (options = { method: "GET" }) => {
|
||||
// } else {
|
||||
// console.error(`Error: Received status code ${error.response.status}`);
|
||||
// }
|
||||
console.log(error.response)
|
||||
// console.log(error.response)
|
||||
} else if (error.request) {
|
||||
// 请求已发出但没有收到响应
|
||||
console.error('No response received:', error.request);
|
||||
|
||||
@ -154,7 +154,7 @@ export default {
|
||||
|
||||
// resourcesList({})
|
||||
|
||||
console.log(this.bookId)
|
||||
// console.log(this.bookId)
|
||||
|
||||
// var locationData = await bookApi.userAction.getReadLocation({bookId:this.bookId})
|
||||
// this.location = locationData.location
|
||||
@ -176,7 +176,7 @@ export default {
|
||||
|
||||
this.basisPath = this.textBookData.basisPath
|
||||
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.fullscreenLoading = false
|
||||
|
||||
@ -185,7 +185,7 @@ export default {
|
||||
this.digitalTeaching = true
|
||||
|
||||
if (this.$route.query.chapterId){
|
||||
this.chapterId = this.$route.query.chapterI
|
||||
this.chapterId = this.$route.query.chapterId
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@ -15,7 +15,7 @@ export default {
|
||||
HelloWorld
|
||||
},
|
||||
mounted(){
|
||||
console.log(111111111111111)
|
||||
// console.log(111111111111111)
|
||||
},
|
||||
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