Skip to content

Commit

Permalink
更改本地图片
Browse files Browse the repository at this point in the history
  • Loading branch information
jonluo94 committed Nov 27, 2019
1 parent c2cb815 commit dec6766
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 20 deletions.
Binary file added baas-frontend/public/default.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added baas-frontend/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion baas-frontend/src/layout/components/Sidebar/Logo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default {
return {
// title: 'Vue Element Admin',
title: 'Baas Admin',
logo: 'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png'
logo: 'logo.png'
}
}
}
Expand Down
17 changes: 1 addition & 16 deletions baas-frontend/src/views/error-page/401.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,8 @@
<h1 class="text-jumbo text-ginormous">
Oops!
</h1>
gif来源<a href="https://zh.airbnb.com/" target="_blank">airbnb</a> 页面
<h2>你没有权限去该页面</h2>
<h6>如有不满请联系你领导</h6>
<ul class="list-unstyled">
<li>或者你可以去:</li>
<li class="link-type">
<router-link to="/dashboard">
回首页
</router-link>
</li>
<li class="link-type">
<a href="https://www.taobao.com/">随便看看</a>
</li>
<li><a href="#" @click.prevent="dialogVisible=true">点我看图</a></li>
</ul>
</el-col>
<el-col :span="12">
<img :src="errGif" width="313" height="428" alt="Girl has dropped her ice cream.">
Expand All @@ -41,9 +28,7 @@ export default {
name: 'Page401',
data() {
return {
errGif: errGif + '?' + +new Date(),
ewizardClap: 'https://wpimg.wallstcn.com/007ef517-bafd-4066-aae4-6883632d9646',
dialogVisible: false
errGif: errGif + '?' + +new Date()
}
},
methods: {
Expand Down
4 changes: 2 additions & 2 deletions baas-frontend/src/views/permission/user.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default {
name: '',
account: '',
password: '',
avatar: 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif'
avatar: 'default.gif'
},
dialogFormVisible: false,
dialogFormVisible2: false,
Expand Down Expand Up @@ -197,7 +197,7 @@ export default {
name: '',
account: '',
password: '',
avatar: 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif'
avatar: 'default.gif'
}
},
handleClose(tag, id) {
Expand Down
2 changes: 1 addition & 1 deletion baas-gateway/mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ create table chaincode


-- admin 123456
INSERT INTO baas_api.user (id, account, password, avatar, name, created) VALUES (1, 'admin', 'pbkdf2_sha256$180000$JEavgdkTBzU3$3pIgoygm1QBtgbfEHeWZ7H4O2rEIgkgLxYV48mE+J4M=', 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif', 'admin', 1557977199);
INSERT INTO baas_api.user (id, account, password, avatar, name, created) VALUES (1, 'admin', 'pbkdf2_sha256$180000$JEavgdkTBzU3$3pIgoygm1QBtgbfEHeWZ7H4O2rEIgkgLxYV48mE+J4M=', 'default.gif', 'admin', 1557977199);

INSERT INTO baas_api.role (rkey, name, description) VALUES ('admin', '管理员', '超级管理员,拥有所有权限');
INSERT INTO baas_api.role (rkey, name, description) VALUES ('user', '用户', '普通用户');
Expand Down

0 comments on commit dec6766

Please sign in to comment.