huangzhichao преди 1 година
родител
ревизия
819995cd4a
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  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,