diff --git a/src/pages/my/components/Version/index.tsx b/src/pages/my/components/Version/index.tsx index 02ecb53..81e08aa 100644 --- a/src/pages/my/components/Version/index.tsx +++ b/src/pages/my/components/Version/index.tsx @@ -13,7 +13,7 @@ const Version = () => { }); }, []); - const [values, setValues] = react.useState(["1"]); + const [values, setValues] = react.useState([]); const [versionArr, setversionArr] = react.useState([]); useEffect(() => { @@ -35,7 +35,10 @@ const Version = () => { setValues(e.detail)} + onChange={(e) => { + console.log('e',e) + setValues(e.detail); + }} // onOpen={(e) => Toast.show(`打开${e.detail}`)} // onClose={(e) => Toast.show(`关闭${e.detail}`)} > @@ -43,7 +46,8 @@ const Version = () => { return ( {/* 富文本 */} {}} className="RichText">