Browse Source

fix:附加数据功能编辑修改下拉框提示文字

xiebeibei 3 years ago
parent
commit
c1f9e06f3e
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/equipment/addDataDialog.vue

+ 3 - 2
src/views/equipment/addDataDialog.vue

@@ -148,7 +148,8 @@
                                 attrs:{
                                     value:row.manageScope,
                                     selectdata:manageScopeData,
-                                    hideClear:true
+                                    hideClear:true,
+                                    placeholder:'请选择管理范围'
                                 },
                                 on:{
                                     change(event){
@@ -576,7 +577,7 @@
         methods:{
             //键盘事件
             keydown(e){
-                if(e.key=='-'||e.key=='+'||e.key=='e'){
+                if(e.key=='-'||e.key=='+'||e.key=='e'||e.key=='.'){
                     e.preventDefault()
                 }
             },