feat: 修改电话号码
This commit is contained in:
@@ -55,7 +55,9 @@
|
||||
</up-input>
|
||||
</view> -->
|
||||
<view class="register_info_item">
|
||||
<up-input placeholder="推荐码" border="surround" v-model="form.referralCode" :customStyle="inputCss"></up-input>
|
||||
<up-input placeholder="推荐码" border="surround" v-model="form.referralCode" :customStyle="inputCss"
|
||||
:disabled="disabled"></up-input>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -110,12 +112,18 @@ export default {
|
||||
transactionCodeIsShow: false,// 交易密码
|
||||
isPolicy: false,
|
||||
butLoading: false,
|
||||
disabled: false,
|
||||
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
const pages = getCurrentPages();
|
||||
const currentPage = pages[pages.length - 1];
|
||||
const id = currentPage.options?.key;
|
||||
if (id) {
|
||||
this.disabled = true;
|
||||
}
|
||||
|
||||
this.form.referralCode = id;
|
||||
},
|
||||
computed: {
|
||||
|
||||
Reference in New Issue
Block a user