Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-06-20 16:30:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bf86005da672fbe02f8a76928ab83d96efddb412
bf86005d
1 parent
b0536ca8
is_back_user=true 说明后台用户登录了,可以忽略微信增强
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
src/App.vue
src/App.vue
View file @
bf86005
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-06-20 1
1:35:4
0
* @LastEditTime: 2024-06-20 1
6:29:2
0
* @FilePath: /data-table/src/App.vue
* @Description:
-->
...
...
@@ -31,7 +31,7 @@ import { wxInfo, getUrlParams, stringifyQuery } from "@/utils/tools";
import { styleColor } from "@/constant.js";
import { getFormSettingAPI } from "@/api/form.js";
import { showDialog } from 'vant';
import fp3 from '@/utils/fp3'
import fp3 from '@/utils/fp3'
;
// 使用 include + pinia 状态管理动态缓存页面
const store = mainStore();
...
...
@@ -91,9 +91,10 @@ onMounted(async () => {
/**
* 微信公众号授权模式
* 空字符串=不授权,snsapi_base=静默授权,snsapi_userinfo=显式授权
* is_back_user=true 说明后台用户登录了,可以忽略微信增强
*/
// 非测试环境,没有授权信息,需要授权
if (!import.meta.env.DEV && no_auth_info && form_setting.wxzq_scope && !is_iframe.value) {
if (!import.meta.env.DEV && no_auth_info && form_setting.wxzq_scope && !is_iframe.value
&& !form_setting.is_back_user
) {
// 预览模式不开启
if (no_preview_model) {
$router.replace({
...
...
Please
register
or
login
to post a comment