龚焕茏
2024-08-24 fb29a61b78b11c222a9698835d4a1b18d8ed973e
src/main.js
@@ -76,6 +76,9 @@
Vue.use(dataV)
DictData.install()
// websocket
Vue.prototype.$websocket = null;
/**
 * If you don't want to use mock-server
 * you want to use MockJs for mock api
@@ -104,7 +107,7 @@
      duration: 1,
      ease: "power2.out",
      onUpdate: () => {
        el.innerText = formatNumber(target.count.toFixed(0));
        // el.innerText = formatNumber(target.count.toFixed(0));
      }
    })
@@ -119,7 +122,7 @@
      duration: 1,
      ease: "power2.out",
      onUpdate: () => {
        el.innerText = formatNumber(target.count.toFixed(0));
        // el.innerText = formatNumber(target.count.toFixed(0));
      }
    })
  }