Browse Source

fix: fix label txt file cache

Eagle 2 tháng trước cách đây
mục cha
commit
476062d73d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/demo/data/index.vue

+ 1 - 1
src/views/demo/data/index.vue

@@ -243,7 +243,7 @@ const markImg = data => {
       if (state.cacheData.labelurl && state.cacheData.labelurl.length > 0) {
         console.log('get label jsonData', state.cacheData.labelurl)
         http
-          .get<any>(state.cacheData.labelurl)
+          .get<any>(state.cacheData.labelurl + '?version=' + new Date().getTime())
           .then(res => {
             state.jsonData = []
             res = xywh2fourNodes(res)