Browse Source

Merge branch 'dev' of http://git.ycjcjy.com/jgz/admin into dev

lisenzhou 2 years ago
parent
commit
8270b9d230
3 changed files with 3 additions and 2 deletions
  1. 1
    1
      .env.production
  2. 1
    1
      src/services/stock.js
  3. 1
    0
      vite.config.js

+ 1
- 1
.env.production View File

1
-VITE_SERVER_BASE=/api
1
+VITE_SERVER_BASE=http://jgz.njyunzhi.com/api

+ 1
- 1
src/services/stock.js View File

89
  * @param {*} params
89
  * @param {*} params
90
  * @returns
90
  * @returns
91
  */
91
  */
92
-export const getStoreLogList = (params) => request('/storeLog', { params });
92
+export const getStoreLogList = (params) => request('/storeLog', { params, successTip: false });
93
 
93
 
94
 /**
94
 /**
95
  * 新增
95
  * 新增

+ 1
- 0
vite.config.js View File

5
 
5
 
6
 // https://vitejs.dev/config/
6
 // https://vitejs.dev/config/
7
 export default defineConfig({
7
 export default defineConfig({
8
+  base: '/jgz/',
8
   server: {
9
   server: {
9
     host: '0.0.0.0',
10
     host: '0.0.0.0',
10
     proxy: {
11
     proxy: {