Skip to content

JX3BOX/jx3box-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JX3BOX

公共基础函数模块,路径常量,外部通用接口地址,全局主题等

Step.1 Install

$ npm install @jx3box/jx3box-common --save

Step.2 Import

import { JX3BOX } from "@jx3box/jx3box-common";
import User from "@jx3box/jx3box-common/js/user.js";

Js & Data Docs

  • utils 常用工具函数&过滤器等(获取落地页链接、图像处理等)
  • user 获取用户本地缓存信息(头像,用户名,用户组,是否登录等)
  • stat 统计
  • axios 拦截器
  • https 请求封装
  • types 类型定义