mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-26 19:06:35 +08:00
deploy
This commit is contained in:
parent
f09b09f4f3
commit
067bcd9a93
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="vab-ad">
|
<div v-if="nodeEnv !== 'development'" class="vab-ad">
|
||||||
<el-carousel
|
<el-carousel
|
||||||
v-if="adList"
|
v-if="adList"
|
||||||
height="30px"
|
height="30px"
|
||||||
@ -20,6 +20,7 @@ import { getList } from "@/api/ad";
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
nodeEnv: process.env.NODE_ENV,
|
||||||
adList: [],
|
adList: [],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -1,7 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="index-container">
|
<div class="index-container">
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
|
<el-col
|
||||||
|
v-if="nodeEnv !== 'development'"
|
||||||
|
:xs="24"
|
||||||
|
:sm="24"
|
||||||
|
:md="24"
|
||||||
|
:lg="24"
|
||||||
|
:xl="24"
|
||||||
|
>
|
||||||
<el-alert
|
<el-alert
|
||||||
v-if="noticeList[0]"
|
v-if="noticeList[0]"
|
||||||
:title="noticeList[0].title"
|
:title="noticeList[0].title"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user