mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-02-04 21:41:45 +08:00
Merge branch 'master' of https://github.com/qier222/YesPlayMusic
# Conflicts: # src/components/Player.vue # src/locale/messages.js
This commit is contained in:
commit
2caed48fa5
|
@ -25,7 +25,7 @@ export default {
|
|||
};
|
||||
},
|
||||
methods: {
|
||||
setMenu: function(top, left) {
|
||||
setMenu(top, left) {
|
||||
let largestHeight =
|
||||
window.innerHeight - this.$refs.menu.offsetHeight - 25;
|
||||
let largestWidth = window.innerWidth - this.$refs.menu.offsetWidth - 25;
|
||||
|
@ -35,11 +35,11 @@ export default {
|
|||
this.left = left + "px";
|
||||
},
|
||||
|
||||
closeMenu: function() {
|
||||
closeMenu() {
|
||||
this.showMenu = false;
|
||||
},
|
||||
|
||||
openMenu: function(e) {
|
||||
openMenu(e) {
|
||||
this.showMenu = true;
|
||||
this.$nextTick(
|
||||
function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user