Browse Source

提示文字修改

luolei 4 years ago
parent
commit
3ce1333154
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/AddNewInspect/SlidePic/index.jsx

+ 1 - 1
src/components/AddNewInspect/SlidePic/index.jsx

@@ -149,7 +149,7 @@ class SlidePic extends Component {
                 class="canEdit" 
                 onDoubleClick={(e)=>this.setEdit(e)}
                 style={{color:style==2||style==4?'red':style==1?'#D949FF':'#333'}}
-                placeholder='(填写用法计量)'
+                placeholder={item.flg == 5?'(填写用法计量)':'(填写用量)'}
                 autoComplete="off"
                 value={item.value}
                 onInput={(e)=>{this.handleInput(e,item,2)}}