Browse Source

fix search

scorpio 2 năm trước cách đây
mục cha
commit
8e856d190f
2 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 3 3
      src/views/user/manage.vue
  2. 2 2
      vite.config.js

+ 3 - 3
src/views/user/manage.vue

@@ -200,6 +200,7 @@
             size="220"
           />
           <span>- 复制二维码图片,通过微信发送邀请 -</span>
+          {{ qrCodeText }}
         </div>
         <el-empty v-else description="暂无数据" />
       </div>
@@ -551,11 +552,10 @@ export default {
       this.$api.role.invitation({ deptId, type: 4 }).then(res => {
         if (res.code === 200) {
           this.qrCodeText =
-            'https://prod.wutongshucloud.com/apply?id=' +
+            'https://prod.wutongshucloud.com/invite?id=' +
             res.data.id +
             '&deptId=' +
-            deptId +
-            '&roleName=股室'
+            deptId
         }
       })
     },

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