This commit is contained in:
xingyy 2025-03-02 17:31:04 +08:00
parent a79f1b85da
commit fb6cb233a1
3 changed files with 6 additions and 2 deletions

View File

@ -11,7 +11,7 @@ export function setupHttp() {
if (http) return http
const {codeToken}= codeAuthStore()
const config = useRuntimeConfig()
const baseURL = config.public.NUXT_PUBLIC_API_COLLECT_CODE
const baseURL = config.public.NUXT_PUBLIC_API_BASE
const router = useRouter()
const i18n = useNuxtApp().$i18n

View File

@ -80,6 +80,9 @@ const loadMore = async () => {
const abnormal=ref(false)
const abnormalRow=ref({})
const inputLotNo=async (data)=>{
if (createForm.value.lotNo<=25000){
return
}
const res=await offlineQrcodeList({
lotNo:createForm.value.lotNo-25000
})

View File

@ -1,5 +1,6 @@
import { setupHttp } from '@/api/http'
import { setupHttp as setupHttp1} from '@/api-collect-code/http'
export default defineNuxtPlugin(() => {
setupHttp()
setupHttp1()
})