scorpio il y a 2 ans
Parent
commit
c12de0763e
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      src/components/filepicker/index.vue
  2. 2 2
      vite.config.js

+ 1 - 1
src/components/filepicker/index.vue

@@ -242,6 +242,7 @@ export default {
     tabClick(initPage) {
       if (initPage) {
         this.page.current = 1
+        this.topFolder = true
       }
       this.list.length = 0
       if (this.activeName === '1') {
@@ -354,7 +355,6 @@ export default {
       if (res.type === 2) {
         this.currentRow = res
       }
-      console.log(this.currentRow)
       const tmp = this.list.find(ele => ele.id === res.id)
       this.parentId = tmp.id
       if (tmp && tmp.type !== 2) {

+ 2 - 2
vite.config.js

@@ -57,8 +57,8 @@ export default defineConfig({
     proxy: {
       '/api': {
         // 正式环境地址
-        // target: 'https://dev.wutongresearch.club/api',
-        target: 'https://prod.wutongshucloud.com/api',
+        target: 'https://dev.wutongresearch.club/api',
+        // target: 'https://prod.wutongshucloud.com/api',
         // target: 'http://192.168.31.181:8110',
         changeOrigin: true,
         rewrite: path => path.replace(/^\/api/, '')