wjx 2 years ago
parent
commit
ecef559878
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/launchSystemNew/launchManage/createAd/index.tsx

+ 1 - 1
src/pages/launchSystemNew/launchManage/createAd/index.tsx

@@ -344,7 +344,7 @@ const CreateAd: React.FC = () => {
                                 <div className={style.center}>
                                     <Spin spinning={getSysAdgroups.loading}>
                                         <div className={style.centerContent}>
-                                            {getSysAdgroups?.data ? <AdgroupsCol data={getSysAdgroups?.data} /> : <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} />}
+                                            {(getSysAdgroups?.data && queryForm?.sysAdgroupId) ? <AdgroupsCol data={getSysAdgroups?.data} /> : <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} />}
                                         </div>
                                     </Spin>
                                 </div>