yls-common

1.0.8 • Public • Published
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')

Readme

Keywords

none

Package Sidebar

Install

npm i yls-common

Weekly Downloads

5

Version

1.0.8

License

ISC

Unpacked Size

47.6 kB

Total Files

14

Last publish

Collaborators

  • yulingsong