xiugai
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
import {url} from '../../request'
|
||||
const { checkLogin } = require('../../utils/logcheck');
|
||||
Page({
|
||||
data: {
|
||||
|
||||
},
|
||||
onLoad(options){
|
||||
checkLogin();
|
||||
const id = options.id
|
||||
this.setData({
|
||||
id:id
|
||||
@ -47,6 +49,9 @@ Page({
|
||||
icon: 'sucess',
|
||||
duration: 2000
|
||||
})
|
||||
wx.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
}else{
|
||||
wx.showToast({
|
||||
title: res.data.message,
|
||||
|
Reference in New Issue
Block a user