From df11004ed014d33e6444a98151055fcff251337c Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Tue, 7 Jan 2025 11:22:22 +0800
Subject: [PATCH] fix
---
src/App.vue | 7 ++
.../manage/list/personalLoans/detail.vue | 98 +---------------
src/pages/manage/list/personalLoans/list.vue | 109 +++++++++++++++++-
src/pages/report/index.vue | 30 +++--
4 files changed, 133 insertions(+), 111 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 5b7ec21..ba0e49e 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -14,6 +14,7 @@ import selectBusiness from '@/components/selectBusiness'
import TipDialog from '@/components/tipDialog'
import { mapState, mapMutations } from 'vuex'
import Bus from '@/libs/bus'
+import store from '@/store'
export default {
name: 'App',
components: {
@@ -22,6 +23,12 @@ export default {
TipDialog
},
created () {
+ // 保证同一个浏览器只有一个当前系统能打开
+ if (!document.referrer) {
+ store.commit('user/logout')
+ return false
+ }
+
//在页面加载时读取localStorage里的状态信息
if (util.local.get(Setting.storeKey)) {
this.$store.replaceState(Object.assign({}, this.$store.state, util.local.get(Setting.storeKey)))
diff --git a/src/pages/manage/list/personalLoans/detail.vue b/src/pages/manage/list/personalLoans/detail.vue
index e327321..91ec9a3 100644
--- a/src/pages/manage/list/personalLoans/detail.vue
+++ b/src/pages/manage/list/personalLoans/detail.vue
@@ -206,31 +206,12 @@
确定
-
-
-
-
-
-