From f8dac04b8db85913c4639d37adacc9613f85b1dc Mon Sep 17 00:00:00 2001 From: CPunisher <1343316114@qq.com> Date: Mon, 22 Jun 2020 21:41:09 +0800 Subject: [PATCH] fix scroll bar --- src/components/app/PartStyles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/app/PartStyles.js b/src/components/app/PartStyles.js index 7aafe19..dfe0903 100644 --- a/src/components/app/PartStyles.js +++ b/src/components/app/PartStyles.js @@ -1,4 +1,4 @@ -import React, {useEffect, useState} from 'react'; +import React, {useEffect, useRef, useState} from 'react'; import './App.css'; import StyleListViewer from "../../containers/style/StyleListViewer"; import {isPC} from "../../utils/navigatorUtils"; @@ -20,7 +20,7 @@ const PartStyles = ({ setParamInfo }) => { {isPC() ?