feat: 修复变量未引入使用报错

merge-requests/54/head
xiaoguang 4 years ago
parent 2a15109002
commit c91e940631

@ -65,12 +65,14 @@ import {
ApiGetCategoryOneList,
ApiGetCategoryTwoAndGoods,
} from "@/plugins/api/goods";
import { CATEGROY_LEVEL } from "@/constants";
const CATEGROY_HIDE_PAGES = [/\/account/]; // 隐藏热门分类tab的页面
export default {
name: "HeaderCategory",
data() {
return {
CATEGROY_LEVEL,
categroyTwoVisible: false, // 是否展示二级分类
categroyVisible: false, // 是否展示一级分类
currentCategroyId: 0, // 当前鼠标悬停的一级分类id

@ -121,7 +121,6 @@ export default {
},
data() {
return {
CATEGROY_LEVEL,
searchContent: "",
tabPath: "/",
cartCount: 0, // 购物车商品数

Loading…
Cancel
Save