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