Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Nov 27, 2024
1 parent 1f6d333 commit 4de5899
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
'../server/index.php?s=',
// "lang" :'en'
lang: 'zh-cn'
}</script><link href="./static/css/app.343bb60a128a48580451591fd4ef6379.css" rel="stylesheet"></head><body class="grey-bg"><div id="app"></div><script type="text/javascript" src="./static/js/manifest.3ad1d5771e9b13dbdad2.js"></script><script type="text/javascript" src="./static/js/vendor.6958fbe8e7ac7908b110.js"></script><script type="text/javascript" src="./static/js/app.fe27c49fc32f9c1dc264.js"></script></body></html>
}</script><link href="./static/css/app.c97d2f978a5aead08b152cd194a5ebf3.css" rel="stylesheet"></head><body class="grey-bg"><div id="app"></div><script type="text/javascript" src="./static/js/manifest.3ad1d5771e9b13dbdad2.js"></script><script type="text/javascript" src="./static/js/vendor.6958fbe8e7ac7908b110.js"></script><script type="text/javascript" src="./static/js/app.c46b0539d010154bdc26.js"></script></body></html>

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions web/static/js/app.c46b0539d010154bdc26.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion web/static/js/app.fe27c49fc32f9c1dc264.js

This file was deleted.

14 changes: 7 additions & 7 deletions web_src/src/components/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,22 +229,22 @@ export default {
},
homePageSetting() {
var url = '/api/common/homePageSetting'
this.request(url, this.form,'post',false).then(response => {
if (response.data.error_code === 0) {
this.beian = response.data.data.beian
if (response.data.data.home_page == 2) {
this.request(url, this.form,'post',false).then(data => {
if (data.error_code === 0) {
this.beian = data.data.beian
if (data.data.home_page == 2) {
// 跳转到登录页面
this.$router.replace({
path: '/user/login'
})
}
if (
response.data.data.home_page == 3 &&
response.data.data.home_item
data.data.home_page == 3 &&
data.data.home_item
) {
// 跳转到指定项目
this.$router.replace({
path: '/' + response.data.data.home_item
path: '/' + data.data.home_item
})
}
}
Expand Down

0 comments on commit 4de5899

Please sign in to comment.