1234567891011121314151617181920212223242526 |
- <template>
- <view class="container">
- 这是测试的一行文字
- <button type="default" @click="clickHandler()">点击弹窗</button>
- <seiminModel ref="seiminModel"></seiminModel>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {};
- },
- methods: {
- clickHandler() {
- this.$refs.seiminModel.show({
- skin: "toast",
- content: "你还好吗?",
- });
- },
- },
- };
- </script>
- <style></style>
|