diff --git a/src/components/user/systematic-notification-pop.vue b/src/components/user/systematic-notification-pop.vue index f7a71e0..1ebcb4a 100644 --- a/src/components/user/systematic-notification-pop.vue +++ b/src/components/user/systematic-notification-pop.vue @@ -179,7 +179,7 @@ const handleScroll = (event) => { // 点击跳转详情页 const goDetail = (uniqid, status) => { if (status != 1) return - router.push(`/detail?uniqid=${uniqid}`); + router.push(`/detail?id=${uniqid}`); } diff --git a/src/utils/axios.js b/src/utils/axios.js index 92b74e1..5594cd3 100644 --- a/src/utils/axios.js +++ b/src/utils/axios.js @@ -14,7 +14,7 @@ axios.interceptors.request.use( //响应拦截 showFullScreenLoading() // 开发时登录用的,可以直接替换小程序的 authorization // if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "x2mmnl9grt51bpplj2k6ioiuummzhnw3" - // if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg" + if (process.env.NODE_ENV == "development") config['headers']['authorization'] = "0h870ovk2xckoqfsh8a3t3sg4sg5z7eg" return config; }, error => { diff --git a/src/views/detail.vue b/src/views/detail.vue index 74333c3..388aade 100644 --- a/src/views/detail.vue +++ b/src/views/detail.vue @@ -124,7 +124,7 @@