bill 2 tháng trước cách đây
mục cha
commit
767bfa169c
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 2 1
      src/store/record.ts
  2. 1 1
      vite.config.ts

+ 2 - 1
src/store/record.ts

@@ -80,7 +80,8 @@ const getRecordMergeFiles = (record: Record) => {
 }
 }
 
 
 export const initialRecords = async () => {
 export const initialRecords = async () => {
-  const serviceRecords = await fetchRecords()
+  const serviceRecords: Records = []
+  // const serviceRecords = await fetchRecords()
   unSetModelUpdate(() => records.value = serviceRecords)
   unSetModelUpdate(() => records.value = serviceRecords)
   await Promise.all(records.value.map(initRecordFragmentsByRecord))
   await Promise.all(records.value.map(initRecordFragmentsByRecord))
   for (const record of records.value) {
   for (const record of records.value) {

+ 1 - 1
vite.config.ts

@@ -11,7 +11,7 @@ const oss = `http://192.168.0.125:1804/`
 const ip = `http://192.168.0.125:1804/`
 const ip = `http://192.168.0.125:1804/`
 const proxy = {
 const proxy = {
   '/offlineData': {
   '/offlineData': {
-    target: 'http://192.168.0.43:9000/',
+    target: 'http://192.168.0.13:8080/',
     changeOrigin: true,
     changeOrigin: true,
     rewrite: path => path.replace(/^\/offlineData/, '')
     rewrite: path => path.replace(/^\/offlineData/, '')
   },
   },