1.0.0 • Published 5 years ago

fight-common v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago
import C from './utils/common';
import A from './utils/api';
import F from './utils/filter';
import L from './utils/login';

var utils = {
    common:C,//公用方法
    api:A,//请求接口相关
    filter:F,//过滤相关
    login:L//登录相关
};
export default utils;

使用:

####1.安装

npm install yls-common --save-dev

2.引入

import utils from 'yls-common';
Vue.prototype.utils = utils;

3.使用

this.utils.common.isNull('1sad')
1.0.0

5 years ago