outaozhen 4 سال پیش
والد
کامیت
5a607b430c
1فایلهای تغییر یافته به همراه10 افزوده شده و 2 حذف شده
  1. 10 2
      src/pages/Product/Cloud/components/Detail/index.jsx

+ 10 - 2
src/pages/Product/Cloud/components/Detail/index.jsx

@@ -10,7 +10,15 @@ import TabList from './TabList'
 import { apiRoadpricingDetail } from '@/services/product'
 
 const Detail = props => {
-  const { dispatch, updateKey = 'cloud', refresh, visible, dataId = '', projectType } = props
+  const {
+    dispatch,
+    updateKey = 'cloud',
+    refresh,
+    visible,
+    dataId = '',
+    projectType,
+    filterTag = true
+  } = props
   const shouldUpdate = refresh[updateKey] || false
   const [state, setState] = useState({
     loading: false,
@@ -54,7 +62,7 @@ const Detail = props => {
           <div className="sheet-left-panel pr-4">
             <Form cloudUser={state.cloudUser} updateKey={updateKey} projectType={projectType} />
             <div className="mt-4">
-              <ClientDetail client={state.client} />
+              <ClientDetail client={state.client} filterTag={filterTag} />
             </div>
             <div className="text-center mt-6">
               <Button type="primary" ghost size="small">