提交 e3b3bf08 authored 作者: matian's avatar matian

fix:修改弹框不显示问题

上级 31ac5338
...@@ -31,9 +31,9 @@ httpRequest.interceptors.request.use( ...@@ -31,9 +31,9 @@ httpRequest.interceptors.request.use(
httpRequest.interceptors.response.use( httpRequest.interceptors.response.use(
function (response) { function (response) {
const { data } = response const { data } = response
if (data.code) { // if (data.code) {
return Promise.reject(data) // return Promise.reject(data)
} // }
return data return data
}, },
function (error) { function (error) {
......
...@@ -54,10 +54,11 @@ export default { ...@@ -54,10 +54,11 @@ export default {
handleClick() { handleClick() {
this.popupVisible = true; this.popupVisible = true;
}, },
getSignInDetail() { getSignInDetail() {
//调用签到详情接口 //调用签到详情接口
let id = this.id; let id = this.id;
signInDetail(id).then((res) => { signInDetail(id).then((res) => {
console.log(res);
if (res.code == 0) { if (res.code == 0) {
this.signInfo = res.data; //获取签到详情数据 this.signInfo = res.data; //获取签到详情数据
let time = new Date().getTime(); //获取当前时间戳 let time = new Date().getTime(); //获取当前时间戳
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论