首次提交
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<button @click="showModel">uni.showModal</button>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
methods: {
|
||||
showModel() {
|
||||
uni.showModal({
|
||||
content: this.$t('api.message'),
|
||||
success: (res) => {
|
||||
console.log(res);
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user