Преглед изворни кода

!256 fix 修复 代码漏改问题
Merge pull request !256 from 疯狂的狮子Li/dev

疯狂的狮子Li пре 3 месеци
родитељ
комит
dfd1dc29d1
2 измењених фајлова са 4 додато и 3 уклоњено
  1. 2 2
      src/views/system/user/profile/thirdParty.vue
  2. 2 1
      vite/plugins/icons.ts

+ 2 - 2
src/views/system/user/profile/thirdParty.vue

@@ -56,7 +56,7 @@
 </template>
 
 <script setup lang="ts">
-import { authUnlock, authBinding } from '@/api/system/social/auth';
+import { authUnlock, authRouterUrl } from '@/api/system/social/auth';
 import { propTypes } from '@/utils/propTypes';
 import { useUserStore } from '@/store/modules/user';
 
@@ -84,7 +84,7 @@ const unlockAuth = (row: any) => {
 };
 
 const authUrl = (source: string) => {
-  authBinding(source, useUserStore().tenantId).then((res: any) => {
+  authRouterUrl(source, useUserStore().tenantId).then((res: any) => {
     if (res.code === 200) {
       window.location.href = res.data;
     } else {

+ 2 - 1
vite/plugins/icons.ts

@@ -3,6 +3,7 @@ import Icons from 'unplugin-icons/vite';
 export default () => {
   return Icons({
     // 自动安装图标库
-    autoInstall: true
+    autoInstall: true,
+    compiler: "vue3"
   });
 };