lanjianrong 5 سال پیش
والد
کامیت
07ed508228
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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) {