forked from Leaf/amber-ui
改进
This commit is contained in:
parent
086dd9979a
commit
a2a4cafcd0
@ -98,7 +98,8 @@ if (isMobile.value) {
|
||||
// 获取屏幕宽度
|
||||
width.value = window.innerWidth - 100;
|
||||
} else {
|
||||
width.value = "40%";
|
||||
// 获取当前屏幕宽度 40% 的宽度
|
||||
width.value = window.innerWidth * 0.4
|
||||
}
|
||||
|
||||
const userPlacement = ref("bottom");
|
||||
|
Loading…
Reference in New Issue
Block a user