瀏覽代碼

success to show a log of refsStringify

kaori 5 年之前
父節點
當前提交
a02cc5e7f7
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/client/js/components/CustomNavigation.jsx

+ 2 - 0
src/client/js/components/CustomNavigation.jsx

@@ -35,6 +35,8 @@ const CustomNavigation = (props) => {
 
     // if (mounted.current) {
     console.log(`ref = ${refs}`);
+    const refsStringify = JSON.stringify(refs);
+    console.log(`refsStringify : ${refsStringify}`);
     console.log(`refs.current[0] = ${refs.current[0]}`);
 
     // console.log(`activeTab = ${elm2.current.offsetWidth}`);