Commit 416414039b0cbab262c49b643558f6a093430812

Authored by 梁灏
1 parent 78b7cd0b

fix eslint

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
src/components/split/split.vue
@@ -162,17 +162,17 @@ @@ -162,17 +162,17 @@
162 }, 162 },
163 watch: { 163 watch: {
164 value () { 164 value () {
165 - this.computeOffset() 165 + this.computeOffset();
166 } 166 }
167 }, 167 },
168 mounted () { 168 mounted () {
169 this.$nextTick(() => { 169 this.$nextTick(() => {
170 - this.computeOffset() 170 + this.computeOffset();
171 }); 171 });
172 172
173 window.addEventListener('resize', ()=>{ 173 window.addEventListener('resize', ()=>{
174 - this.computeOffset()  
175 - }) 174 + this.computeOffset();
  175 + });
176 } 176 }
177 }; 177 };
178 </script> 178 </script>