上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: <div v-for="(item,index) in list"> <div :class="{current:item.current}":key="{{item.current}}" @click="toggle(item)">{{item.text}}</div> </div> return 阅读全文
posted @ 2020-07-05 10:42 心意如水hucuie22 阅读(717) 评论(0) 推荐(0) 编辑
摘要: import Vue from 'vue'import Router from 'vue-router'import Home from '@/components/Home.vue'import login from '@/components/login.vue'Vue.use(Router)e 阅读全文
posted @ 2020-07-04 13:11 心意如水hucuie22 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 vue 中安装 cnpm install --save weixin-js-sdk 恢复内容结束 sao() { let that = this; // 点击扫码开始执行函数// 向后台请求 getWxConfig({ orgId: sessionStorage.getItem("or 阅读全文
posted @ 2020-07-02 09:12 心意如水hucuie22 阅读(1291) 评论(0) 推荐(1) 编辑
摘要: <tr v-for="(item,index) in list"> <th>{{index+1}}</th> <th>{{item.name}}</th> <th>{{item.data}}</th> <th><a @click.prevent="remove(index)">删除{{index}} 阅读全文
posted @ 2020-07-01 11:05 心意如水hucuie22 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 1.js里面引入 import * as echarts from '../../images/ec-canvas/echarts'; //引入echarts.js 2.在json文件里面定义下 "usingComponents": { "ec-canvas": "../../images/ec-c 阅读全文
posted @ 2020-06-30 15:15 心意如水hucuie22 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 子组件调用父组件的方法 Vue子组件调用父组件的方法 https://blog.csdn.net/zgrkaka/article/details/100528714 阅读全文
posted @ 2020-06-29 11:04 心意如水hucuie22 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 在父组件中: <template> <div> <div @click="click">点击父组件</div> <child ref="child"></child> </div> </template> <script> import child from "./child"; export de 阅读全文
posted @ 2020-06-29 10:16 心意如水hucuie22 阅读(199) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Battercake/article/details/88579978 阅读全文
posted @ 2020-06-16 08:45 心意如水hucuie22 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1.在src文件下新建server文件夹 在里面新建api.js,server.js reque.js 里面写入import Vue from 'vue' import axios from 'axios' import qs from 'qs'; import router from '../ro 阅读全文
posted @ 2020-06-15 12:04 心意如水hucuie22 阅读(295) 评论(0) 推荐(0) 编辑
摘要: https://v-charts.js.org/#/histogram 地址 阅读全文
posted @ 2020-06-15 09:43 心意如水hucuie22 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页