Browse Source

fix: code remove modify #294

richard1015 5 years ago
parent
commit
5d46a7c569
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/packages/actionsheet/actionsheet.vue

+ 4 - 4
src/packages/actionsheet/actionsheet.vue

@@ -82,19 +82,19 @@ export default {
         if (value) {
         if (value) {
           document.body.classList.add('nut-overflow-hidden');
           document.body.classList.add('nut-overflow-hidden');
         } else {
         } else {
-          this.remolveLockScrool();
+          this.removeLockScrool();
         }
         }
       }
       }
     }
     }
   },
   },
   deactivated() {
   deactivated() {
-    this.remolveLockScroll();
+    this.removeLockScroll();
   },
   },
   destroyed() {
   destroyed() {
-    this.remolveLockScroll();
+    this.removeLockScroll();
   },
   },
   methods: {
   methods: {
-    remolveLockScroll() {
+    removeLockScroll() {
       document.body.classList.remove('nut-overflow-hidden');
       document.body.classList.remove('nut-overflow-hidden');
     },
     },
     isHighlight(item) {
     isHighlight(item) {