liyangzheng 1 year ago
parent
commit
8b5d350571
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/views/myfile/MyFile.vue
  2. 2 2
      vite.config.js

+ 1 - 1
src/views/myfile/MyFile.vue

@@ -127,7 +127,7 @@
                         <!-- 右侧 -->
                         <div>
                             <img :src="sort" alt="">
-                            <img :src="squre" alt="" >
+                            <img :src="squre" alt="" @click="gridChange">
                         </div>
                     </div>
                     <div class="detailBox file-jia" @click="mouseClick">

+ 2 - 2
vite.config.js

@@ -40,8 +40,8 @@ export default defineConfig(({
 				// https://cn.vitejs.dev/config/#server-proxy
 				'/dev-api': {
 					// target: 'http://192.168.1.28:8080/',
-					// target: 'http://8.142.173.95:19527/',
-					target:'http://192.168.1.28:8080/',
+					target: 'http://8.142.173.95:19527/',
+					// target:'http://192.168.1.28:8080/',
 					changeOrigin: true,
 					rewrite: (p) => p.replace(/^\/dev-api/, '')
 				},