This commit is contained in:
parent
3900da9f24
commit
4c31cc81bc
|
|
@ -161,10 +161,16 @@ function onEnd() {
|
|||
}
|
||||
|
||||
onMounted(() => {
|
||||
// const images = [
|
||||
// 'https://www.focusnu.com/media/directive/login/0.png',
|
||||
// 'https://www.focusnu.com/media/directive/login/1.png',
|
||||
// 'https://www.focusnu.com/media/directive/login/2.png',
|
||||
// ]
|
||||
const images = [
|
||||
'https://www.focusnu.com/media/directive/login/0.png',
|
||||
'https://www.focusnu.com/media/directive/login/1.png',
|
||||
'https://www.focusnu.com/media/directive/login/2.png',
|
||||
'/static/0.jpg',
|
||||
'/static/1.jpg',
|
||||
'/static/2.jpg',
|
||||
'/static/3.jpg',
|
||||
]
|
||||
bgImage.value = images[Math.floor(Math.random() * images.length)]
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// 全局请求封装
|
||||
const base_url = 'https://www.focusnu.com/opeapi'
|
||||
// const base_url = 'http://192.168.2.18:8081/opeapi'
|
||||
// const base_url = 'https://www.focusnu.com/opeapi'
|
||||
const base_url = 'http://192.168.2.27:8081/opeapi/'
|
||||
// const base_url = 'http://192.168.2.55:8081/opeapi'
|
||||
// 请求超出时间
|
||||
const timeout = 5000
|
||||
|
|
@ -31,7 +31,7 @@ export default (params) => {
|
|||
// console.log("请求返回了啥啊",response)
|
||||
// 根据返回的状态码做出对应的操作
|
||||
//获取成功
|
||||
// console.log("接口总线",res);
|
||||
// console.log("接口总线",url);
|
||||
if (res.statusCode == 200) {
|
||||
resolve(res.data);
|
||||
loginout = false;
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
Loading…
Reference in New Issue