xtt-util
v0.0.2
Published
> xttLocalStorage 自定义缓存工具类, 使用方法 在main.js type=xtt_sch 缓存前缀 ```js import { XttLocalStorage } from 'xtt-util' XttLocalStorage.init("xtt_sch") ``` > Base64 encode / decode ```js import { Base64 } from 'xtt-util' Base64.encode("xtt") Base64.decode("eHR0")
Downloads
20
Readme
工具类
xttLocalStorage 自定义缓存工具类, 使用方法 在main.js type=xtt_sch 缓存前缀
import { XttLocalStorage } from 'xtt-util'
XttLocalStorage.init("xtt_sch")
Base64 encode / decode
import { Base64 } from 'xtt-util'
Base64.encode("xtt")
Base64.decode("eHR0")
增加 methods
validate 使用方法
import { validateUpperCase } from 'xtt-util'
validateUpperCase("SSSS")
上传文件
上传文件到腾讯云 使用方法
import { UploadCos } from 'xtt-util'
UploadCos.getStsCredentials()
UploadCos.upload()