From f06a4063c9570ddcf5a0f00693950e63ace8d372 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期二, 03 三月 2026 11:54:04 +0800
Subject: [PATCH] fix(scan): 修复扫码组件重复触发和超时处理问题
---
src/api/home/index.ts | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/api/home/index.ts b/src/api/home/index.ts
index de1a66a..cd165f1 100644
--- a/src/api/home/index.ts
+++ b/src/api/home/index.ts
@@ -2,6 +2,13 @@
import { BaseResult } from "@/models/base";
const HomeApi = {
+ getVersion(params: any) {
+ return request<BaseResult<any>>({
+ url: "/app/getNewestApk",
+ method: "GET",
+ data: params,
+ });
+ },
getIndex() {
return request<BaseResult<any>>({
url: "/app/getIndex",
--
Gitblit v1.9.3