vue如何实现双向数据绑定
Object.defineProperty()
<template> <view class="pt-72 txt-center"> <image :src="imgUrl + 'success.png'" style="width: 104rpx;height: 104rpx;"></image> <view class="mt-26 f-size-36 f-bold">报名成功!</view> <view class="mt-4 color-f-vice f-size-24">请耐心等待客服人员通知</view> <view style="margin-top: 160rpx;"> <button type="default" class="common-big-btn" @click="routerBack()">返回首页</button> </view> </view> </template> <script> export default { data() { return { imgUrl: this.config.staticResource, } }, components:{ }, onLoad(options) { wx.setNavigationBarTitle({ title: options.title }) }, methods: { } } </script> <style lang="scss" scoped> </style>

浙公网安备 33010602011771号