|
@@ -93,6 +93,7 @@
|
|
|
|
|
|
const handleCancelSucess = () => {
|
|
|
sucessPopup.value = false;
|
|
|
+ emit('clockinCallback')
|
|
|
};
|
|
|
|
|
|
const getRandomPick = () => {
|
|
@@ -121,17 +122,16 @@
|
|
|
farmBuyId: props.farmBuyId,
|
|
|
clockinType: props.clockinType,
|
|
|
msg: message.value,
|
|
|
- };
|
|
|
- if(props.clockinType!=4){
|
|
|
+ };
|
|
|
+ if(props.clockinType!=4){
|
|
|
TREE.clockin(params).then((res) => {
|
|
|
if (res.code === 0) {
|
|
|
handleCancel();
|
|
|
sucessPopup.value = true;
|
|
|
- emit('clockinCallback')
|
|
|
}
|
|
|
});
|
|
|
- }else{
|
|
|
- sucessPopup.value = true;
|
|
|
+ }else{
|
|
|
+ sucessPopup.value = true;
|
|
|
}
|
|
|
};
|
|
|
|
|
@@ -264,7 +264,7 @@
|
|
|
}
|
|
|
|
|
|
.sucess-popup {
|
|
|
- width: 100vw;
|
|
|
+ width: 100vw;
|
|
|
min-height: 100vh;
|
|
|
|
|
|
.image {
|
|
@@ -282,7 +282,7 @@
|
|
|
|
|
|
.img {
|
|
|
width: 81%;
|
|
|
- height: 410rpx;
|
|
|
+ height: 410rpx;
|
|
|
}
|
|
|
}
|
|
|
|