瀏覽代碼

强制刷新

zxr 3 年之前
父節點
當前提交
3b26d0f636
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/layout/components/AppMain.vue

+ 1 - 0
src/layout/components/AppMain.vue

@@ -114,6 +114,7 @@ export default {
   created() {
     this.timer = null;
     this.startTime();
+     this.$forceUpdate();
   },
   computed: {
     cachedViews() {