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.
33 lines
482 B
33 lines
482 B
const _app = getApp<IAppOption>() |
|
|
|
Component({ |
|
properties: { |
|
show: { |
|
type: Boolean, |
|
value: false, |
|
}, |
|
type: String, |
|
params: { |
|
type: Object, |
|
value() { |
|
return {} |
|
}, |
|
}, |
|
}, |
|
|
|
data: {}, |
|
methods: { |
|
handleOk() { |
|
this.setData({ |
|
show: false, |
|
}) |
|
this.triggerEvent('ok') |
|
}, |
|
handleCancel() { |
|
this.setData({ |
|
show: false, |
|
}) |
|
this.triggerEvent('cancel') |
|
}, |
|
}, |
|
})
|
|
|