Browse Source

备注修改

release_0.0.2
deartibers 3 years ago
parent
commit
c15990cd60
  1. 5
      code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/remarksModal.jsx

5
code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/components/remarksModal.jsx

@ -18,7 +18,7 @@ function remarksModal (props) {
const [roll,setroll] = useState(false);
const [showValueNum,setShowValueNum] = useState(0);
const valueNum = useRef(0);
//
useEffect(() => {
let myScrollList=ScrollList
for (let index = 0; index < cameraRemarks.length; index++) {
@ -47,6 +47,7 @@ function remarksModal (props) {
close();
//
}
//
function onChange(value,num){
valueNum.current=0
let myScrollList=ScrollList
@ -60,10 +61,12 @@ function remarksModal (props) {
}
setShowValueNum(valueNum.current);
}
//
function onFocus(num){
setShowScrollList([ScrollList[num].value])
setroll(true)
}
//
function onBlur(){
setShowScrollList([])
let myScrollList = []

Loading…
Cancel
Save