1.后台接口没有问题,一直报错token的问题,是因为用户权限的问题,iviewadmin框架只有super_admin和admin有管理权限,在src/mock/login.js中添加用户就可以了。(这是手动添加)
原文地址:https://www.cnblogs.com/ting0527/p/11671132.html
时间: 2024-07-31 05:16:22
1.后台接口没有问题,一直报错token的问题,是因为用户权限的问题,iviewadmin框架只有super_admin和admin有管理权限,在src/mock/login.js中添加用户就可以了。(这是手动添加)
原文地址:https://www.cnblogs.com/ting0527/p/11671132.html