lanjianrong 5 lat temu
rodzic
commit
07ed508228
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      src/components/LazyCascader/LazyCascader.jsx

+ 2 - 2
src/components/LazyCascader/LazyCascader.jsx

@@ -1,9 +1,9 @@
 import { Cascader } from 'antd'
-import React, { forwardRef, useEffect, useRef } from 'react'
+import React, { forwardRef, useEffect } from 'react'
 import { connect } from 'dva'
 
 const CLazyCascader = props => {
-  const { options, dispatch, onChange, ...resetProps } = props
+  const { refinstance, options, dispatch, onChange, ...resetProps } = props
   // console.log(props.defaultValue)
   useEffect(() => {
     if (!options.length) {