forked from opentiny/tiny-vue
23 lines
472 B
Vue
23 lines
472 B
Vue
<template>
|
|
<tiny-button @click="btnClick" :reset-time="0">不锁界面 且 隐藏遮罩层</tiny-button>
|
|
</template>
|
|
|
|
<script>
|
|
import { Button, Modal } from '@opentiny/vue'
|
|
|
|
export default {
|
|
components: {
|
|
TinyButton: Button
|
|
},
|
|
methods: {
|
|
btnClick() {
|
|
Modal.alert({
|
|
message: '设置为不锁界面 且 隐藏遮罩层',
|
|
lockView: false, // 设置不锁界面
|
|
mask: false // 设置隐藏遮罩层
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|