소스 검색

请求图增加时间戳

haojianlong 4 년 전
부모
커밋
fddaa44ea8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/maintain/space/components/spaceGraph.vue

+ 1 - 1
src/views/maintain/space/components/spaceGraph.vue

@@ -195,7 +195,7 @@ export default class spaceGraph extends Vue {
         this.canvasLoading = true;
         this.clearGraphy();
         this.scene = null;
-        scene.loadUrl(this.mapBaseUrl + this.floorKey).then((res) => {
+        scene.loadUrl(this.mapBaseUrl + this.floorKey + `&${+new Date()}`).then((res) => {
             if (this.view) {
                 this.view.scene = scene;
             }