Nessuna descrizione

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

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列表上,不让企业权限的用户访问到