refactor(auth): 移除未使用的js-cookie导入并重构token管理
feat(ruoyi): 新增ruoyi工具包包含request、auth等工具 将原有的auth.js和request.js功能迁移至新创建的@klp/ruoyi工具包中,并更新相关引用
This commit is contained in:
9
packages/ruoyi/index.js
Normal file
9
packages/ruoyi/index.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import createService, { isRelogin } from './utils/request'
|
||||
|
||||
// 导出这个函数,不是默认导出
|
||||
export {
|
||||
createService,
|
||||
isRelogin
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user