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.
23 lines
307 B
23 lines
307 B
1 year ago
|
<template>
|
||
|
<view>
|
||
|
<web-view src="/hybrid/html/local.html" @message="getMessage"></web-view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
methods: {
|
||
|
getMessage(e) {
|
||
|
uni.showModal({
|
||
|
content: JSON.stringify(e.detail),
|
||
|
showCancel: false
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
|
||
|
</style>
|