当前位置:网站首页>8、 Picker usage drop-down box selection effect
8、 Picker usage drop-down box selection effect
2022-07-28 14:29:00 【Ming-Afresh】
<view class="uni-form-item">
<view class="title"> detection result </view>
<view class="input_box">
<picker @change="examinationType" :range="examinationTypeArray" v-model="form.status">
<label class="" style="color: gray;">{
{
examinationTypeArrayType }}</label>
</picker>
</view>
</view>
export default {
data() {
return {
form: {
status: '',
// there status The input parameter is a list of options array 012 ( Non option text )
},
// detection result Optional text
examinationTypeArray:[' negative ',' positive ',' Invalid result '],
examinationTypeIndex:'',
examinationTypeArrayType:' Please enter ',
}
},
methods: {
examinationType(e) {
this.examinationTypeIndex = e.target.value;
this.form.status=e.target.value;
this.examinationTypeArrayType=this.examinationTypeArray[this.examinationTypeIndex];
console.log(e);
},
}
}

边栏推荐
- RSA encrypts data with private key and decrypts data with public key (not a signature verification process)
- Thesis study -- masked generative disintegration
- AFNetworking速成教程
- unittest执行runTestCase提示<_io.TextIOWrapper name=‘<stderr>‘ mode=‘w‘ encoding=‘utf-8‘>解决方案
- zabbix分布式
- How to write test cases in software testing technology
- 83. (cesium home) how the cesium example works
- Cv:: mat conversion to qimage error
- How to configure ADB environment variables (where to open environment variables)
- [线程安全问题] 多线程到底可能会带来哪些风险?
猜你喜欢

Clickhouse architecture and design

Install mysql5.7.36 in CentOS

zabbix分布式
![[ecmascript6] async and await](/img/3c/c7de42ad572dc95b188243c02dd228.png)
[ecmascript6] async and await

2022 high altitude installation, maintenance, removal of examination question bank and online simulated examination

2022年熔化焊接与热切割考题及在线模拟考试

Daily question - Scholarship

Revised version | target detection: speed and accuracy comparison (faster r-cnn, r-fcn, SSD, FPN, retinanet and yolov3)

Xcode编写SwiftUI代码时一个编译通过但导致预览(Preview)崩溃的小陷阱

2022高处安装、维护、拆除考试题库及在线模拟考试
随机推荐
Afnetworking crash course
How to write test cases in software testing technology
pix2pix
Tdengine helps Siemens' lightweight digital solutions
Hcip day 11
Four ways to create thread pools
Leetcode 1331. array sequence number conversion
MySQL development skills - View
What is gossip (E-Net gossip)
PowerDesigner creates a database model (conceptual model example)
[utils] fastdfs tool class
如何有效进行回顾会议(上)?
Redis sentinel mechanism
Clickhouse distributed cluster construction
Alibaba, jd.com, Tiktok: push cloud to the heart of industry
zabbix分布式
Metersphere -- Open Source continuous testing platform
2022年熔化焊接与热切割考题及在线模拟考试
Revised version | target detection: speed and accuracy comparison (faster r-cnn, r-fcn, SSD, FPN, retinanet and yolov3)
2022 high altitude installation, maintenance, removal of examination question bank and online simulated examination