摘要:        
export const setStorage = (key, value) => { if (!key) return console.error('请输入设置的key'); localStorage.setItem(key, value); }; export const getStorage     阅读全文
posted @ 2022-10-19 09:38
RHCHIK
阅读(97)
评论(0)
推荐(0)
        
            
        
        
摘要:        
/** * 获取本地图 * @param name // 文件名 如 doc.png * @returns {*|string} */ export const getAssetsImages = (name) => { return new URL(`/src/assets/image/${nam    阅读全文
posted @ 2022-10-19 09:30
RHCHIK
阅读(91)
评论(0)
推荐(0)
        
            
        
        
摘要:        
// 自适应echart字体大小 export const fontSize = (res) => { let clientWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clien    阅读全文
posted @ 2022-10-19 09:29
RHCHIK
阅读(141)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号