@uyun/ec-no-permission-warn
NoPermission component from everest-components
Last updated 7 years ago by shenting .
UNLICENSED · Repository · Bugs ·
$ cnpm install @uyun/ec-no-permission-warn 
Private package

category: Components type: Alert title: NoPermissionWarn subtitle: 无权限提示 cols: 1

产品需要统一化的无权限提示组件。

作者:张淑峰

何时使用

当用户进入产品,但是没有任何功能权限时需要提醒的内容。

API

属性 说明 类型 默认值
seconds 自动跳转倒计时 number 6
language 语种 en_US 或 zh_CN cookie附带的language字段或者zh_CN
href 跳转后的地址 string ${ip}/tenant
showBackground 是否有背景色 bool true
redirect 是否需要跳转 bool true
directory 字典 object 如上述图所示
directory.en_US 英文字典 object
directory.en_US.title 无权限标题(英文) string "This role has not been authorized."
directory.en_US.description 无权限描述(英文) string "The current role does not have permission to access this menu, please contact the administrator for authorization."
directory.en_US.timeWarn 无权限倒计时,{seconds}为具体倒计时的值 string "After {seconds} seconds we will automatically go back to Apps list."
directory.en_US.title 无权限跳转按钮标题(英文) string "Go back immediately"
directory.zh_CN 中文字典 object
directory.zh_CN.title 无权限标题(中文) string "该角色尚未授权"
directory.zh_CN.description 无权限描述(中文) string "您当前的角色无权访问本模块,请联系管理员进行授权"
directory.zh_CN.timeWarn 无权限倒计时,{seconds}为具体倒计时的值 string "{seconds}秒后自动跳到应用列表"
directory.zh_CN.title 无权限跳转按钮标题(中文) string "直接返回"

Current Tags

  • 0.1.4                                ...           latest (7 years ago)

8 Versions

  • 0.0.2                                ...           8 years ago
  • 0.0.3                                ...           8 years ago
  • 0.0.4                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
  • 0.1.1                                ...           8 years ago
  • 0.1.2                                ...           8 years ago
  • 0.1.3                                ...           7 years ago
  • 0.1.4                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org