我也遇到了 请问解决了吗
picker-view设置value,中间值不生效<picker-view v-if="mode == 'region'" :value="[2, 2, 2]" // 设置value @change="change" class="u-picker-view" @pickstart="pickstart" @pickend="pickend" > <picker-view-column v-if="params.province"> <view class="u-column-item" v-for="(item, index) in provinces" :key="index" > <view class="u-line-1">{{ item.label }}</view> </view> </picker-view-column> <picker-view-column v-if="params.city"> <view class="u-column-item" v-for="(item, index) in citys" :key="index" > <view class="u-line-1">{{ item.label }}</view> </view> </picker-view-column> <picker-view-column v-if="params.area"> <view class="u-column-item" v-for="(item, index) in areas" :key="index" > <view class="u-line-1">{{ item.label }}</view> </view> </picker-view-column> </picker-view> [图片] 第一列、第三列没问题,第二列有问题
2023-11-09我遇到了我用任务队列解决了 TuT
急!wx.createInnerAudioContext 创建2个实例,播放一个但是会把两个声音重叠// 创建第一个声音 this.audio1 = wx.createInnerAudioContext(); this.audio1.src = './audio/dialing.mp3' this.audio1.loop = true; this.audio1.volume = 1; // 创建第二个声音 this.audio2 = wx.createInnerAudioContext(); this.audio2.src = './audio/hangup.mp3' this.audio2.volume = 1; // 播放第一个声音 playAudio1() { this.audio1.play(); }, 生成两个不同的实例,点击播放第一个声音后,会同时播放两个重叠的声音
2023-06-26