wjx %!s(int64=2) %!d(string=hai) anos
pai
achega
ecef559878
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>