|
- <select id="bankSel" class="_city-select" @change="onSelectBanks">
- <option class="_city-option" value="0">全部银行</option>
- <option class="_city-option" value="{{$item.id}}" for="bankLst" selected="{{$item.id==id}}">{{$item.bankName}}</option>
- </select>
复制代码- onSelectBanks(evt){
- console.log(`onSelectBanks`)
-
-
- if(this.isReady==true){
- var newVal = evt.newValue;
- prompt.showToast({
- message: "eee:"+evt.newValue
- })
- //this.id = evt.detail;
- if(newVal){
- this.id = newVal;
- }
- this.fireSelectChange();
- }
- },
复制代码
|
|