随笔分类 -  vue

摘要:@expand-change="getFacilityList" 定义return数据:payOrders: [] 定义方法 getFacilityList(row, expandedRows) { if (expandedRows.length !== 0) { // 展开行的时候获取数据的方法 阅读全文
posted @ 2020-05-19 16:16 一纸铅华 阅读(770) 评论(0) 推荐(0)
摘要:一、配置后端访问路径 config/index.js dev: { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', // Various Dev Server settings host: 'localhost', // c 阅读全文
posted @ 2020-04-13 14:36 一纸铅华 阅读(409) 评论(0) 推荐(0)
摘要:一、安装依赖 npm install vue-awesome-swiper --save 二、引入awesome-swiper src/main.js修改 import Vue from 'vue' import App from './App' import router from './rout 阅读全文
posted @ 2020-04-10 17:04 一纸铅华 阅读(25426) 评论(0) 推荐(3)
摘要:一、idea创建vue项目 File --> new --> project... --> next --> next 一直默认--> next 二、启动vue项目 安装node.js,检查node.js和npm是否已经安装完成 安装vue,npm install vue,检查是否安装成功vue 全 阅读全文
posted @ 2020-04-10 16:47 一纸铅华 阅读(19766) 评论(0) 推荐(0)