摘要:
全局使用过滤器 1、main.js文件 //main.js import Vue from 'vue' import App from './App' import { getSwiperList, getGoodsDetail } from "network/http.js" Vue.protot 阅读全文
摘要:
获取商品id(父子组件通信) 1.子组件 <template> <view class="detail"> <view><button @click="navigator(id)">点我跳转</button></view> </view> </template> <script> export de 阅读全文