1234567891011121314151617181920212223 |
- Component({
- props: {
- position: 'bottom',
- className: '',
- disableScroll: false
- },
- data: {
- show: false
- },
- methods: {
- show(show) {
- show = show === undefined ? true : show;
- this.setData({
- show
- });
- },
- onClose() {
- this.show(false);
- }
- }
- });
|