zhangzengfei
2022-12-07 0dbf19e9f92f5cb1d5ca9a06fd268d3b16e466e3
src/views/trialCenter/components/SdkItem.vue
@@ -7,7 +7,7 @@
    <div class="des limitRow2">
      {{ sdk.description }}
    </div>
    <div class="button" @click="buyProduct(sdk.productName)">立即试用</div>
    <div class="button" @click="buyProduct(sdk.id)">立即试用</div>
  </div>
</template>
@@ -17,11 +17,11 @@
    sdk: {},
  },
  methods: {
    buyProduct(productName) {
    buyProduct(id) {
      this.$router.push({
        path: "/productDetail",
        query: {
          name: productName,
          id: id,
        },
      });
    },