Skip to content

Commit 03467e4

Browse files
author
bjdgy
committed
添加页尾版权
1 parent 74782e8 commit 03467e4

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

web/src/layout/Layout.vue

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
<!--子组件上报route信息-->
1919
<router-view :route_path.sync="route_path" :route_name.sync="route_name"></router-view>
2020
</el-main>
21+
<el-footer>
22+
<div>
23+
<el-button size="mini" @click="goUrl('https://gitee.com/bjdgyc/anylink')">
24+
Powered by AnyLink
25+
</el-button>
26+
企业级远程办公系统 AGPL-3.0 ⓒ 2020-present
27+
</div>
28+
</el-footer>
2129
</el-container>
2230
</el-container>
2331
</template>
@@ -36,6 +44,11 @@ export default {
3644
route_name: ['首页'],
3745
}
3846
},
47+
methods: {
48+
goUrl(url) {
49+
window.open(url, "_blank")
50+
},
51+
},
3952
watch: {
4053
route_path: function (val) {
4154
// var w = document.getElementById('layout-menu').clientWidth;
@@ -60,4 +73,16 @@ export default {
6073
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04);
6174
}
6275
76+
.el-footer {
77+
display: flex;
78+
align-items: center;
79+
justify-content: center;
80+
text-align: center;
81+
82+
font-size: 12px;
83+
line-height: 12px;
84+
margin: 0 12px;
85+
color: rgb(134, 144, 156);
86+
}
87+
6388
</style>

web/src/pages/set/Other.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
step: '01:00',
8989
end: '23:00',
9090
}"
91-
editable="false,"
91+
:editable="false"
9292
size="small"
9393
placeholder="请选择"
9494
style="width: 130px"

web/src/plugins/request.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded
77

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

1313
function request(vm) {

0 commit comments

Comments
 (0)