瀏覽代碼

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

htc 1 年之前
父節點
當前提交
93d2762be8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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">