New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

vue-tools-plugins

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-tools-plugins

Encapsulation of common methods commonly used in developing Vue projects

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
9
-18.18%
Maintainers
1
Weekly downloads
 
Created
Source

对开发Vue项目中常用到一些公用方法的封装

Encapsulation of common methods commonly used in developing Vue projects

  • 全局 loading 状态控制,
  this.$loading.show() 显示
  
  this.$loading.hide() 隐藏
  • 常用方法

    - isEmptyObject // 空对象判断

    - getParam // url参数提取

    - dataFormat // 日期格式化

    - removeRepeatArr // 数组排重

  • 过滤器

    - dateFormat // 日期过滤

Keywords

vue

FAQs

Package last updated on 02 Aug 2017

Related posts