From 35fd987f0076f923f10cc3474432b128edb9e8c4 Mon Sep 17 00:00:00 2001 From: zhoulinf <2507241354@qq.com> Date: Thu, 26 Mar 2026 15:23:58 +0800 Subject: [PATCH] =?UTF-8?q?CRM=5F26-03-31#story#8372,=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=95=86KPI=E7=9C=8B=E6=9D=BF=E8=AE=BE=E7=BD=AE=E5=9F=8B?= =?UTF-8?q?=E7=82=B9=E5=8F=8A=E6=94=AF=E6=8C=81=E6=95=B0=E6=8D=AE=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E9=9C=80=E6=B1=82--=E4=B8=AD=E5=BF=83=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/myMixins.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/utils/myMixins.js b/src/utils/myMixins.js index b998a414..d40d7d41 100644 --- a/src/utils/myMixins.js +++ b/src/utils/myMixins.js @@ -1,12 +1,17 @@ import { getLog } from "@/api/order" + +let _setLogTimer = null + export const myMixins = { data() { return { } }, methods: { - async setLogHandler(data) { - await getLog(data) + setLogHandler(data) { + if (_setLogTimer) return + _setLogTimer = setTimeout(() => { _setLogTimer = null }, 1000) + getLog(data) }, showFun() { if( localStorage.getItem('infoVerify') == 8 || localStorage.getItem('infoVerify') == 12 ) {