小技巧

nextTick(() => {
	// 执行内容
})

setTimeout(() => { // 宏任务打断清除缓存
	// 执行内容
}, 1000)

 filters: {
    ellipsis: function (value) {
      if (!value) {
        return "";
      }
      if (value.length > 25) {
        return value.slice(0, 25) + "...";
      }
      return value;
    },
  },
      
 fileTypeObj:[
        {name:'pdf',type:'application/pdf'},
        {name:'doc',type:'application/msword'},
        {name:'docx',type:'application/vnd.openxmlformats-officedocument.wordprocessingml.document'},
        {name:'xls',type:'application/vnd.ms-excel'},
        {name:'xlsx',type:'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'},
]


```_axios.getBlob = (url, params) => {
    return _axios({
        method: 'get',
        url: url,
        params: params,
        responseType: 'blob',
        headers: {
            'x-requested-with': 'AxiosHttpRequest',
            'dataId': params === undefined || params === '' || params === null ? '' : md5(JSON.stringify(params)),
            'jstime': new Date().getTime()
        }
    })
}