修改统计出现的bug

This commit is contained in:
lemon橪
2021-09-02 15:01:54 +08:00
parent b829d2cd05
commit 6d5428317f
8 changed files with 14 additions and 16 deletions

View File

@@ -2,7 +2,8 @@ export default {
/**
* @description 配置显示在浏览器标签的title
*/
title: "Lili电商",
title: "lilishop",
/**
* @description token在Cookie中存储的天数默认1天
*/
@@ -14,6 +15,8 @@ export default {
*/
useI18n: true,
/**
* @description api请求基础路径
*/

View File

@@ -2,12 +2,13 @@ import lazyLoading from './lazyLoading.js';
import Cookies from "js-cookie";
import { result } from './routerJson.js';
import config from '@/config/index'
let util = {
};
util.title = function (title) {
title = title || 'lili 商家后台';
title = title || `${config.title} 商家后台`;
window.document.title = title;
};

View File

@@ -1,11 +1,11 @@
import Main from "@/views/Main.vue";
import config from '@/config/index'
// 不作为Main组件的子页面展示的页面单独写如下
export const loginRouter = {
path: "/login",
name: "login",
meta: {
title: "登录 - lili商家后台"
title: `登录 - ${config.title}商家后台`
},
component: () => import("@/views/login.vue")
};

View File

@@ -97,7 +97,7 @@
<div class="block">
<div class="box">
<span>付款笔数</span>
<span>{{overViewList.paymentsNum || 0 }}</span>
<span>{{overViewList.paymentOrderNum || 0 }}</span>
</div>
</div>