vue如何實現雙向資料繫結
阿新 • • 發佈:2022-04-20
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>