const start = new Date(); const end = new Date(); end.setTime(end.getTime() + 3600 *...
const start = new Date(); const end = new Date(); end.setTime(end.getTime() + 3600 *...
export function deepClone(data) { if (typeof data !== 'object' || typeof data == 'fun...
//可以采用計(jì)算屬性實(shí)現(xiàn)響應(yīng)式 provide('listData', computed(() => { return state.listData})) //可以toRe...
{ root: true, // 當(dāng)前配置為根配置,將不再從上級文件夾查找配置 parserOptions: { parser: 'babel-eslint', // 采用...
查看已有tag git tag 本地打tag git tag <name> 遠(yuǎn)程推送 tag git push origin <name>
// 數(shù)組去重 arr:數(shù)組;key:根據(jù)數(shù)組中為key的鍵名去重 filterArr(arr, key) { const hash = {}; return...
uuid(){ vars=[] varhexDigits='0123456789abcdef' for(vari=0;i<36;i++){ s[i]=hexDigits.su...
toolbox: { show : true, feature : { dataView : {show: true}, restore : ...
lethref=‘’; window.open(href,'_blank','toolbar=yes,width=900,height=700')
data里面定義codeSrc:'', methods:{ getImg(){ this.$axios.get('接口地址',{responseType:'arraybuf...
//回顯 edit(record){ this.$nextTick(function(){ //或者下載個(gè)lodash.pick 插件 //this.form...
columns:[ { filterMultiple:false, title:'編號', width:60, align:"center", customRender:(t...
之前做一個(gè)項(xiàng)目,甲方讓重構(gòu)下他們一個(gè)培訓(xùn)的網(wǎng)站,涉及到這個(gè)功能。因?yàn)樯婕暗郊嫒?,所以用jq做。 以下步驟: 1. 甲方給word,用辦公軟件轉(zhuǎn)成html, 2. 把html放...