This commit is contained in:
万纯 2020-09-08 20:18:31 +08:00 committed by harrywan
parent b0b3fcc68e
commit 2a706ac5ba
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@webank/fes-core", "name": "@webank/fes-core",
"version": "0.1.1", "version": "0.1.2",
"description": "一个好用的前端管理台快速开发框架", "description": "一个好用的前端管理台快速开发框架",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"

View File

@ -204,7 +204,7 @@ class App {
} }
async setDefaultPage() { async setDefaultPage() {
const defaultPage = await this.getDefaultPage(true); const defaultPage = await this.getDefaultPage(false);
this.router.push(defaultPage); this.router.push(defaultPage);
} }

View File

@ -76,7 +76,7 @@ export default {
if (this.validate()) { if (this.validate()) {
this.FesApi.fetch('login').then(() => { this.FesApi.fetch('login').then(() => {
// //
this.FesApp.set('FesUserName', '万纯(harrywan'); this.FesApp.set('FesUserName', 'harrywan');
this.FesApp.set('FesRoleName', '管理员'); this.FesApp.set('FesRoleName', '管理员');
this.FesStorage.set('userLogin', true); this.FesStorage.set('userLogin', true);
this.getRole(); this.getRole();