No Description

19124812874 ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
assets ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
components ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
pages ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
static ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
utils ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
uview-ui ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
.gitignore ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
App.vue ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
main.js ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
manifest.json 4e68cf8cfa first commit 5 years ago
package-lock.json 2bcceffe84 登录拦截 5 years ago
pages.json ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
readme.md ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
router.js ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
uni.scss ec9b01ea93 对接设备,通知公告,园区动态等等 5 years ago
vue.config.js 2bcceffe84 登录拦截 5 years ago

readme.md

npm install uni-simple-router npm install uni-read-pages

新增的页面需要加入name字段,可以让路由识别 使用path跳转需要完整的路径(/pages/),而不是相对路径

不需要登陆就可以访问的页面需要配置到router.js的WHiTE_LIST白名单上 员工的页面需要配置到router.js 的ENTERPRISE列表上,不让员工权限的用户访问到 企业的页面需要配置到router.js 的STAFF列表上,不让企业权限的用户访问到