摘要:
function observe(value) { if (typeof value != 'object') { return } let ob; if (value.__ob__ !== undefined) { ob = value.__ob__; } else { ob = new Obse 阅读全文
摘要:
methods:{ downloadItem(ary, sleep = 1000){ let row = ary.shift(); if(!row){ return } let textImg = drawText({ text: `${row.loginName}_${row.shareCount 阅读全文
摘要:
Vue.directive('watermark',(el,binding)=>{ let text = binding.value.text; let font = binding.value.font || "16px Microsoft JhengHei"; let textColor = b 阅读全文