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

bug修复

parent 36b45e58
Pipeline #2944 canceled with stages
......@@ -20,7 +20,7 @@
<script>
import BillingDetails from '@/components/billing-daily/billing-daily.vue';
import { minPopupOptions } from '@/utils/options/index/index.js';
import { checkLogin} from '@/utils/common.js';
import { checkLoginAndVip} from '@/utils/common.js';
export default {
name: 'mid-popup',
components: {
......@@ -41,7 +41,7 @@ export default {
this.show = false;
},
clickItem(item){
checkLogin(()=>{
checkLoginAndVip(()=>{
this.openBill(item)
})
},
......
......@@ -31,7 +31,7 @@ import NavbarNormal from '@/components/navbar-normal';
import ScrollBox from './components/scroll-box.vue';
import { tabbar } from '@/utils/settings.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 { getList, getStatistics } from '@/api/bill/index.js';
import { exportBill } from '@/api/bill/index.js';
......@@ -131,7 +131,7 @@ export default {
};
},
handlClickOut() {
checkLogin(()=>{
checkLoginAndVip(()=>{
this.visible=true
})
},
......
......@@ -83,7 +83,7 @@ export function getAutoLogin() {
}
export function checkLogin(callback){
export function checkLoginAndVip(callback){
if(checkToken()){
if(checkVip()){
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