Skip to content

Commit

Permalink
添加页尾版权
Browse files Browse the repository at this point in the history
  • Loading branch information
bjdgy committed Mar 10, 2024
1 parent 74782e8 commit 03467e4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions web/src/layout/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
<!--子组件上报route信息-->
<router-view :route_path.sync="route_path" :route_name.sync="route_name"></router-view>
</el-main>
<el-footer>
<div>
<el-button size="mini" @click="goUrl('https://gitee.com/bjdgyc/anylink')">
Powered by AnyLink
</el-button>
企业级远程办公系统 AGPL-3.0 ⓒ 2020-present
</div>
</el-footer>
</el-container>
</el-container>
</template>
Expand All @@ -36,6 +44,11 @@ export default {
route_name: ['首页'],
}
},
methods: {
goUrl(url) {
window.open(url, "_blank")
},
},
watch: {
route_path: function (val) {
// var w = document.getElementById('layout-menu').clientWidth;
Expand All @@ -60,4 +73,16 @@ export default {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04);
}
.el-footer {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 12px;
line-height: 12px;
margin: 0 12px;
color: rgb(134, 144, 156);
}
</style>
2 changes: 1 addition & 1 deletion web/src/pages/set/Other.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
step: '01:00',
end: '23:00',
}"
editable="false,"
:editable="false"
size="small"
placeholder="请选择"
style="width: 130px"
Expand Down
2 changes: 1 addition & 1 deletion web/src/plugins/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded

if (process.env.NODE_ENV !== 'production') {
// 开发环境
axios.defaults.baseURL = 'http://172.23.83.233:8800';
axios.defaults.baseURL = 'https://192.168.8.24:8800';
}

function request(vm) {
Expand Down

0 comments on commit 03467e4

Please sign in to comment.