优化内容+修复bug

This commit is contained in:
zhouyanli
2026-08-19 10:21:58 +08:00
parent 1710cba509
commit 325813c67e
13 changed files with 110 additions and 79 deletions

View File

@@ -78,11 +78,11 @@
<text class="item-arrow"></text>
</view>
<view class="form-item switch-item" v-if="!houseId">
<!-- <view class="form-item switch-item" v-if="!houseId">
<text class="item-label" style="width: 100px;">设为默认房屋</text>
<switch class="no-cross-switch" :checked="formData.isDefault" color="#1677ff"
@change="onSwitchChange" />
</view>
</view> -->
</view>
<!-- 第二步 -->
<view v-if="currentStep==1">
@@ -901,10 +901,10 @@
}
// 开关切换
const onSwitchChange = (e) => {
/* const onSwitchChange = (e) => {
formData.isDefault = e.detail.value
uni.setStorageSync('houseIsDefault', e.detail.value)
}
} */
// ========== 生命周期 ==========
// 页面卸载时清除定时器
onUnmounted(() => {