Browse Source

feat: 参数组装

huangzhichao 1 year ago
parent
commit
819995cd4a
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/pages/index/index.tsx
  2. 1 1
      src/plugin/components/custom/index.tsx

+ 1 - 0
src/pages/index/index.tsx

@@ -10,6 +10,7 @@ const Index: React.FC = () => {
   })
 
   function openEmbeddedMiniProgram(appId, path) {
+    console.log(path)
     Taro.openEmbeddedMiniProgram({
       appId,
       path,

+ 1 - 1
src/plugin/components/custom/index.tsx

@@ -134,7 +134,7 @@ function PqCustom(props: PropsWithChildren<CustomPropsType>) {
   }
 
   function adActionReport(eventId, businessType, extParams = {}) {
-    const data = createAdActionReportData
+    const data = createAdActionReportData()
 
     adActionLog([{
       businessType,