Commit 1b63ddbf authored by 刘文虎's avatar 刘文虎

bug修复

parent 36b45e58
Pipeline #2944 canceled with stages
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<script> <script>
import BillingDetails from '@/components/billing-daily/billing-daily.vue'; import BillingDetails from '@/components/billing-daily/billing-daily.vue';
import { minPopupOptions } from '@/utils/options/index/index.js'; import { minPopupOptions } from '@/utils/options/index/index.js';
import { checkLogin} from '@/utils/common.js'; import { checkLoginAndVip} from '@/utils/common.js';
export default { export default {
name: 'mid-popup', name: 'mid-popup',
components: { components: {
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
this.show = false; this.show = false;
}, },
clickItem(item){ clickItem(item){
checkLogin(()=>{ checkLoginAndVip(()=>{
this.openBill(item) this.openBill(item)
}) })
}, },
......
...@@ -31,7 +31,7 @@ import NavbarNormal from '@/components/navbar-normal'; ...@@ -31,7 +31,7 @@ import NavbarNormal from '@/components/navbar-normal';
import ScrollBox from './components/scroll-box.vue'; import ScrollBox from './components/scroll-box.vue';
import { tabbar } from '@/utils/settings.js'; import { tabbar } from '@/utils/settings.js';
import { baseUrl } from '@/utils/config.js'; import { baseUrl } from '@/utils/config.js';
import { keepTwoDecimalFull,checkLogin} from '@/utils/common.js'; import { keepTwoDecimalFull,checkLoginAndVip} from '@/utils/common.js';
import { downLoad } from '@/utils/download.js'; import { downLoad } from '@/utils/download.js';
import { getList, getStatistics } from '@/api/bill/index.js'; import { getList, getStatistics } from '@/api/bill/index.js';
import { exportBill } from '@/api/bill/index.js'; import { exportBill } from '@/api/bill/index.js';
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
}; };
}, },
handlClickOut() { handlClickOut() {
checkLogin(()=>{ checkLoginAndVip(()=>{
this.visible=true this.visible=true
}) })
}, },
......
...@@ -83,7 +83,7 @@ export function getAutoLogin() { ...@@ -83,7 +83,7 @@ export function getAutoLogin() {
} }
export function checkLogin(callback){ export function checkLoginAndVip(callback){
if(checkToken()){ if(checkToken()){
if(checkVip()){ if(checkVip()){
if(callback){ if(callback){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment