city-picker
city-picker copied to clipboard
当input city-picker在<section/>内的时候单击选中无效
<section class="col col-3">
<label class="label" for="StartingCity">始发地</label>
<label class="input">
<input data-toggle="city-picker" data-val="true" />
</label>
</section>
我注解掉一下这行就没问题了 this.$element.on('change', (this._changeElement = $.proxy(function () { this.close(true); this.refresh(true); }, this))).on('focus', (this._focusElement = $.proxy(function () { this.needBlur = true; //console.log('focus',this); //this.open(); }, this))).on('blur', (this._blurElement = $.proxy(function () { if (this.needBlur) { this.needBlur = false; this.close(true); } }, this)));