shenwu vor 2 Jahren
Ursprung
Commit
bb82af6fb6

+ 3 - 3
src/pages/launchSystemNew/launchManage/localAd/creative/modal.tsx

@@ -356,7 +356,7 @@ function CreativeModal(props: Props) {
     return <Modal
         visible={visible}
         title={type === 'add' ? '新建创意' : type === 'look' ? '创意详情' : '编辑创意'}
-        onCancel={() => { PupFn({ visible: false }) }}
+        onCancel={() => { PupFn({ visible: false,dataInfo:null,type:'add' }) }}
         onOk={handleOk}
         width={1200}
         confirmLoading={confirmLoading}
@@ -372,8 +372,8 @@ function CreativeModal(props: Props) {
                     adcreativeElementsType: '视频',
                     promotedObjectType: 'PROMOTED_OBJECT_TYPE_WECHAT_OFFICIAL_ACCOUNT',
                     siteSet: ['SITE_SET_MOMENTS', 'SITE_SET_WECHAT'],
-                    actionBtn: true,//行动按钮
-                    dataShow: true,//数据展示
+                    // actionBtn: false,//行动按钮
+                    // dataShow: false,//数据展示
                 }
             }
         >