随笔分类 - vue
摘要:使用echarts npm install echarts --save || cnpm install echarts --save 定义wkCharts.vue <template> <div :class="className" :style="{height:height,width:wid
阅读全文
摘要:为了方便使用 axios 将其封装 httpService.js import axios from 'axios' // 引入axios import { Loading , Message } from 'element-ui' // 引入Elemente-ui (根据自己使用的UI框架引入 )
阅读全文
摘要:记录管理后台 侧边导航栏做成通用小组件 借助 Elemente-UI <el-aside>:侧边栏容器 <<el-menu>:导航菜单 创建 父组件页面 aside.vue *( default-active 为当前激活菜单的 index,(设置为当前的路由名称 this.$route.fullPa
阅读全文
摘要:服务端 设置请求头 允许跨域 @Override public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { HttpS
阅读全文
摘要:官方文档必须首当其冲 1.微信jsAPI 录音文档 2.获取微信临时素材文档 首先H5录音功能的话 对于普通H5网上是有很多的方法 插件 但是兼容性很差 特别是对于ios 一开始想的是用H5 做个通用的 但是一圈下来 发现兼容性就很难受 好在项目是基于微信公众号 放弃使用普通H5的想法 转战使用微信
阅读全文
摘要:1.安装sass 依赖包 终端输入 npm install sass-loader --save-dev npm install node-sass --sava-dev 2.build文件夹下的webpack.base.conf.js的rules里面添加配置 { test: /\.scss$/,
阅读全文
摘要://网页内调用微信扫码功能 //首先必须引入微信JS <script type='text/javascript' src="http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script> //1.html <div i
阅读全文
摘要:公众号 网页授权 官方文档 调用授权地址的设置 页面内直接跳转微信授权链接 window.location.href = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx27d6e2a2b7be9&redirect_uri="
阅读全文
摘要:要求能定位到国外 及 查看了文档 百度支持东南亚大部分地区 满足需求 从而使用百度地图<template> <div class="addHospital"> <div class="map" v-loading="loading"> <el-input placeholder="请输入搜索地址"
阅读全文
摘要:npm run dev 启动时,报了一大堆错误 Module build failed: Error: Missing binding E:\2017VocaSchool\vocationWeb\node_modules\node-sass\vendor\win32-x64-51\binding.n
阅读全文
摘要:直接使用 npm i -S vuedraggable 页面使用 <template> <div class="addProduct"> <el-dialog title="流程" :visible.sync="addTemplate" width="900px"> <div class="flex"
阅读全文
摘要:创建httpService.js 文件 import axios from 'axios'; import { Loading , Message } from 'element-ui'; import { Vuevm } from '../main'; window.Vuevm = Vuevm;
阅读全文

浙公网安备 33010602011771号