增加h5跳转app

This commit is contained in:
2024-12-09 16:40:22 +08:00
parent 78c8acf09b
commit 5458022b20
3 changed files with 12 additions and 3 deletions

View File

@@ -6,13 +6,14 @@
<view class="u-m-t-32 u-text-center">支付成功</view>
<view class="u-flex u-row-center u-m-t-32">
<view style="width: 600rpx;">
<u-button type="success">确定</u-button>
<u-button type="success" @click="confirm">确定</u-button>
</view>
</view>
</view>
</template>
<script>
import {openApp} from '@/utils/app.js'
export default {
data() {
return {
@@ -20,7 +21,9 @@
}
},
methods: {
confirm(){
openApp()
}
}
}
</script>