Showing
1 changed file
with
4 additions
and
3 deletions
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | * @Author: hookehuyr hookehuyr@gmail.com | 2 | * @Author: hookehuyr hookehuyr@gmail.com |
| 3 | * @Date: 2022-05-26 23:52:36 | 3 | * @Date: 2022-05-26 23:52:36 |
| 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 4 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 5 | - * @LastEditTime: 2024-06-20 11:35:40 | 5 | + * @LastEditTime: 2024-06-20 16:29:20 |
| 6 | * @FilePath: /data-table/src/App.vue | 6 | * @FilePath: /data-table/src/App.vue |
| 7 | * @Description: | 7 | * @Description: |
| 8 | --> | 8 | --> |
| ... | @@ -31,7 +31,7 @@ import { wxInfo, getUrlParams, stringifyQuery } from "@/utils/tools"; | ... | @@ -31,7 +31,7 @@ import { wxInfo, getUrlParams, stringifyQuery } from "@/utils/tools"; |
| 31 | import { styleColor } from "@/constant.js"; | 31 | import { styleColor } from "@/constant.js"; |
| 32 | import { getFormSettingAPI } from "@/api/form.js"; | 32 | import { getFormSettingAPI } from "@/api/form.js"; |
| 33 | import { showDialog } from 'vant'; | 33 | import { showDialog } from 'vant'; |
| 34 | -import fp3 from '@/utils/fp3' | 34 | +import fp3 from '@/utils/fp3'; |
| 35 | 35 | ||
| 36 | // 使用 include + pinia 状态管理动态缓存页面 | 36 | // 使用 include + pinia 状态管理动态缓存页面 |
| 37 | const store = mainStore(); | 37 | const store = mainStore(); |
| ... | @@ -91,9 +91,10 @@ onMounted(async () => { | ... | @@ -91,9 +91,10 @@ onMounted(async () => { |
| 91 | /** | 91 | /** |
| 92 | * 微信公众号授权模式 | 92 | * 微信公众号授权模式 |
| 93 | * 空字符串=不授权,snsapi_base=静默授权,snsapi_userinfo=显式授权 | 93 | * 空字符串=不授权,snsapi_base=静默授权,snsapi_userinfo=显式授权 |
| 94 | + * is_back_user=true 说明后台用户登录了,可以忽略微信增强 | ||
| 94 | */ | 95 | */ |
| 95 | // 非测试环境,没有授权信息,需要授权 | 96 | // 非测试环境,没有授权信息,需要授权 |
| 96 | - if (!import.meta.env.DEV && no_auth_info && form_setting.wxzq_scope && !is_iframe.value) { | 97 | + if (!import.meta.env.DEV && no_auth_info && form_setting.wxzq_scope && !is_iframe.value && !form_setting.is_back_user) { |
| 97 | // 预览模式不开启 | 98 | // 预览模式不开启 |
| 98 | if (no_preview_model) { | 99 | if (no_preview_model) { |
| 99 | $router.replace({ | 100 | $router.replace({ | ... | ... |
-
Please register or login to post a comment