|
|
@@ -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">
|