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