let pages = getCurrentPages();// 获取页面栈 let current= pages[pages.length - 1]; // 当前页面 ...
let pages = getCurrentPages();// 获取页面栈 let current= pages[pages.length - 1]; // 当前页面 ...
scroll-into-view="{{selectId}}" scroll-view 组件自带属性scroll-into-view selectId:跳转的锚点id
const newUrl = this.$route.path + `?id=${this.id}&kjStatus=1` window.history.replaceSta...
非正式3.x用法 安装插件 yarn addvuedraggable
安装插件 yarn addvuedraggable <template> <draggable v-model="dataList" @update="draggableEn...
3、应该是常量引用,改下标题哦
accMul(arg1, arg2) { var m =0, s1 = arg1.toString(), s2 = arg2.toString(); try { m += ...
api https://mirari.cc/2017/08/27/Vue%E5%9B%BE%E7%89%87%E6%B5%8F%E8%A7%88%E7%BB%84%E4%BB...
1.app.vue <keep-alive> <router-view v-if="$route.path == '/theme/classMeeting'"></rou...
<template> <video v-if="showFlag" :id="'tcPlayer' + index" preload="auto" width="640" h...
<template> <video v-if="showFlag" :id="tcPlayerId" preload="auto" width="640" height="3...
varimg =newImage(); img.id ='pic'; img.onload =function(){ cxt.drawImage(img,x,y,witdh,...
-webkit:safari、chrome私有属性 一般用于移动端网页开发 -moz:firefox浏览器私有属性 -ms:ie浏览器私有属性 -o:Opera
报错 ......../static/css/static/img/xxx.png 404 原因: style-loader无法设置自己的publicPath 解决: 在...
1:通过路由配置 this.$router.push({ path:`/describe/${'222'}` }) 路由配置: { path:'/describe/:id...
1:npm install jquery 2:在build文件夹下的webpack.base.conf.js进行配置 (1)const webpack = require...
1,变量引用 外部js: var s = "变量数据"; export default{ customData:function () { return s; ...
img[src=""],img:not([src]){ opacity:0; }
使用vue的set方法 var obj =this.list[index] obj.isShow = !obj.isShow this.$set(this.list, ind...