mirror of
https://github.com/imsyy/home.git
synced 2025-05-20 05:00:14 +09:00
Update Background.vue
This commit is contained in:
parent
5f7752f03b
commit
73f01450b8
@ -34,7 +34,7 @@ const emit = defineEmits(["loadComplete"]);
|
|||||||
|
|
||||||
// 壁纸随机数
|
// 壁纸随机数
|
||||||
// 请依据文件夹内的图片个数修改 Math.random() 后面的第一个数字
|
// 请依据文件夹内的图片个数修改 Math.random() 后面的第一个数字
|
||||||
const bgRandom = Math.floor(Math.random() * 10 + 1);
|
const bgRandom = Math.floor(Math.random() * 11 + 1);
|
||||||
|
|
||||||
// 更换壁纸链接
|
// 更换壁纸链接
|
||||||
const changeBg = (type) => {
|
const changeBg = (type) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user