Doc: optimzie mobile demo

This commit is contained in:
陈嘉涵
2017-09-05 10:17:49 +08:00
parent 5e84e2e9cb
commit 99f712104e
7 changed files with 21 additions and 26 deletions
+2 -4
View File
@@ -10,8 +10,6 @@
</template>
<script>
import Vue from 'vue';
export default {
computed: {
visible() {
@@ -30,8 +28,8 @@ export default {
},
watch: {
'$route.path': function(val) {
Vue.nextTick(() => {
'$route.path'(val) {
this.$nextTick(() => {
this.computeFooterFixed();
});
}