当前位置:网站首页>Solve the problem that the prompt information of form verification does not disappear and the assignment does not take effect
Solve the problem that the prompt information of form verification does not disappear and the assignment does not take effect
2022-07-29 05:38:00 【Meow sauce fell asleep】
problem 1: The verification prompt message does not disappear
1. The drop-down box uses change Trigger 
2.form Need to be defined 
problem 2. Assignment does not take effect
1. Use set assignment
this.$set(this.form, 'eqName', value)
2. The change event of the drop-down box is forced to refresh
<el-form-item label=" Well name " prop="deviceName">
<el-select v-model="addEditForm.deviceName" filterable placeholder=" Please select " clearable @change="selectPlatform" style="width:92%">
<el-option
v-for="item in addWellData"
:key="item.jmc"
:label="item.jmc"
:value="item.jmc"
/>
</el-select>
</el-form-item>
selectPlatform(){
this.$forceUpdate()// Force update
},
边栏推荐
猜你喜欢

Together with digital people, digital space and XR platform, Alibaba cloud and its partners jointly build a "new vision"

Global components component registration
![[C language series] - storage of deep anatomical data in memory (II) - floating point type](/img/a4/126d9f8e812d8f69b4249eac837bf6.png)
[C language series] - storage of deep anatomical data in memory (II) - floating point type
![[event preview] cloud digital factory and digital transformation and innovation forum for small and medium-sized enterprises](/img/6f/f7c5d605ea9b7b9e7c49ac716492ef.jpg)
[event preview] cloud digital factory and digital transformation and innovation forum for small and medium-sized enterprises

科班同学真的了解未来的职业规划吗?

·Let's introduce ourselves to the way of programming·

Alibaba cloud architect details nine trends in the game industry

Day 2
![[C language series] - a recursive topic](/img/a2/9d65728e672ab16c4fc0d427c241c4.png)
[C language series] - a recursive topic

HCIA-R&S自用笔记(24)ACL
随机推荐
js深拷贝-笔记
力扣994:腐烂的橘子(BFS)
【C语言系列】— 字符串+部分转义字符详解+注释小技巧
VIM editor use
On Paradigm
【TypeScript】TypeScript中类型缩小(含类型保护)与类型谓词
js简单代码判断打开页面的设备是电脑PC端或手机H5端或微信端
MySQL解压版windows安装
微信小程序更改属性值-setData-双向绑定-model
ANSI C type qualifier
Camunda 1、Camunda工作流-介绍
Basic principle of recursion
Integer overflow and printing
Global components component registration
第一周总结
Clickhouse learning (XI) clickhouseapi operation
redis的基本使用
Detailed explanation of serial port communication
公众号不支持markdown格式文件编写怎么办?
Introduction to C language array to proficiency (array elaboration)