scorpio %!s(int64=2) %!d(string=hai) anos
pai
achega
57ece5279f
Modificáronse 2 ficheiros con 6 adicións e 6 borrados
  1. 4 4
      src/views/home/component/authorize.vue
  2. 2 2
      vite.config.js

+ 4 - 4
src/views/home/component/authorize.vue

@@ -152,10 +152,10 @@ export default {
     initCode (type) {
       this.loading = true
       let list = this.folderList
-      if (this.folderId.length === 0) {
-        this.$message.error('当前目录下没有可以授权的文件')
-        return
-      }
+      // if (this.folderId.length === 0) {
+      //   this.$message.error('当前目录下没有可以授权的文件')
+      //   return
+      // }
       if (type === 2) {
         list = this.fileList
       }

+ 2 - 2
vite.config.js

@@ -34,8 +34,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/, '')