Sfoglia il codice sorgente

单选框增加immediateChange属性(立即切换,去除延迟)

htc 1 anno fa
parent
commit
93d2762be8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      pages/home/index.vue

+ 1 - 1
pages/home/index.vue

@@ -106,7 +106,7 @@
 		</block>
 		<Tabbar :tabbarIndex="0"></Tabbar>
 		<u-picker :show="shShow" :columns="nameList" @close="shShow=false" @cancel="shShow=false"
-			@confirm="confirm" itemHeight="88"></u-picker>
+			@confirm="confirm" :immediateChange="true" itemHeight="88"></u-picker>
 		<!-- 取消订单 -->
 		<u-modal :show="show" @confirm="confirmCheck" :show-cancel-button="true" @cancel="show=false">
 			<view class="slot-content">