武田基因病B开发环境
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
702 B

2 months ago
const app = getApp<IAppOption>()
2 months ago
Component({
properties: {
show: {
type: Boolean,
value: false,
},
type: String,
params: {
type: Object,
value() {
return {}
},
},
},
2 months ago
data: {
popup1Check1: false,
2 months ago
imageUrl: app.globalData.imageUrl,
Timestamp:app.globalData.Timestamp
2 months ago
},
2 months ago
methods: {
handleOk() {
2 months ago
const { type } = this.data
if (type === 'argument' && !this.data.popup1Check1) {
wx.showToast({
title: '请同意隐私政策',
icon: 'none',
})
return
}
2 months ago
this.triggerEvent('ok')
},
handleCancel() {
this.triggerEvent('cancel')
},
},
})