1.0.20 • Published 2 years ago
ljzn-sass-sign v1.0.20
ljzn-sass-sign
Installation
npm install ljzn-sass-sign
Code
// 引入
import { sign } from 'ljzn-sass-sign'
// axios使用 config请求拦截器中的信息
const resObj = sign(config);
const keyArr = Object.keys(resObj);
keyArr.forEach((key) => {
config.headers[key] = resObj[key];
});
// uniapp使用 config请求拦截器中的信息
header: {
...sign(config)
}
1.0.20
2 years ago
1.0.19
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago