let pages = getCurrentPages();// 獲取頁面棧 let current= pages[pages.length - 1]; // 當(dāng)前頁面 ...
let pages = getCurrentPages();// 獲取頁面棧 let current= pages[pages.length - 1]; // 當(dāng)前頁面 ...
scroll-into-view="{{selectId}}" scroll-view 組件自帶屬性scroll-into-view selectId:跳轉(zhuǎn)的錨點id
const newUrl = this.$route.path + `?id=${this.id}&kjStatus=1` window.history.replaceSta...
安裝插件 yarn addvuedraggable <template> <draggable v-model="dataList" @update="draggableEn...
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私有屬性 一般用于移動端網(wǎng)頁開發(fā) -moz:firefox瀏覽器私有屬性 -ms:ie瀏覽器私有屬性 -o:Opera
報錯 ......../static/css/static/img/xxx.png 404 原因: style-loader無法設(shè)置自己的publicPath 解決: 在...
1:通過路由配置 this.$router.push({ path:`/describe/${'222'}` }) 路由配置: { path:'/describe/:id...
1:npm install jquery 2:在build文件夾下的webpack.base.conf.js進(jìn)行配置 (1)const webpack = require...
1听皿,變量引用 外部js: var s = "變量數(shù)據(jù)"; export default{ customData:function () { return s; ...
使用vue的set方法 var obj =this.list[index] obj.isShow = !obj.isShow this.$set(this.list, ind...