npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mx-vue-el-appcomps

v1.1.5

Published

基于VUE、Element-UI的系列App组件,如:RBAC、文件管理等。

Downloads

10

Readme

mx-vue-el-appcomps

====

  1. 组件: 1.1 字典对象选择组件:ChooseDictInput、ChooseDictTag和ChooseUserInput; 1.2 通用字典管理页面组件:DictManage,支持常规的增删改查和刷新数据; 1.3 RBAC管理页面组件:包括用户管理、账户管理、部门管理、角色管理、特权管理、授权管理、操作日志、登录日志挂历等组件。
  2. store: 2.1 登录账户信息状态。
  3. 国际化(locale)

安装

npm i mx-vue-el-appcomps --save

用法

mport MxVueElUtils from 'mx-vue-el-utils'
import MxAppComps from '../../dist/mx-vue-el-appcomps.min'

import App from './App'
import router from './router'
import store from './store'
import { MyLanguage, setLanguage } from './lang'

import mock from './mock'

Vue.config.productionTip = false

setLanguage('zh-CN')
Vue.use(ElementUI, {locale: MyLanguage.elLang})
Vue.use(MxVueElUtils, {locale: MyLanguage.mxLang})
Vue.use(MxAppComps, {locale: MyLanguage.appLang})

mock()

console.log(MyLanguage.myI18n.t('test'))

/* eslint-disable no-new */
new Vue({
  i18n: MyLanguage.myI18n,
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: {App}
})

依赖模块

  • mx-vue-el-utils
  • mx-app-utils
  • vue
  • vue-i18n
  • Element-UI

修改历史

1.1.5

  1. 添加了字典tag中支持多选和单选的功能。
  2. 修改了提交个性化信息中的bug。
  3. 修改了选择个性化菜单功能中的bug。
  4. 重构了组件中的翻译资源。
  5. 在RbacLayout中添加了切换语种的事件回调。

1.1.1

  1. 添加了修改密码和修改个性化菜单的功能。
  2. 修改了发现的bug。

1.0.16

  1. 修改了多语种文件的载入方式。
  2. 修改了分页控件中表格控件最小高度的设置规则,采用自动计算。
  3. 调整了分页控件的表格样式。
  4. 修改了账户维护和用户维护界面组件中的bug。
  5. 调整了弹出表格的基础样式。
  6. 调整了Account Store的代码,将持久化部分剥离,以支持SSR。
  7. 修改了登入和登出的信息提示错误。
  8. 添加了nuxtServerInit支持。
  9. 添加了token支持。
  10. 修复了账户登录状态管理中角色组定义错误。
  11. 根据MxAjax重构内容,修改了相关调用代码。

1.0.2

  1. 修改了生产环境配置文件,瘦身了生产代码。

1.0.1

  1. 添加了账户登录状态中常用工具栏的处理。

1.0.0

  1. 初始版本。