From 91c2a55bb7daf17d257ec6dc2e303c97a1a9b0a2 Mon Sep 17 00:00:00 2001 From: IvyXia123 <ivyHsia@126.com> Date: Tue, 17 Sep 2019 20:02:52 +0800 Subject: [PATCH] alert --- config/index.js | 2 +- src/components/map/index.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/index.js b/config/index.js index 3bbdded5..469d4550 100644 --- a/config/index.js +++ b/config/index.js @@ -61,7 +61,7 @@ module.exports = { assetsRoot: path.resolve(__dirname, '../dist') , // assetsSubDirectory:process.env.NODE_ENV === 'production' ? 'static/2019061017':'static', assetsSubDirectory:'static', - assetsPublicPath: process.env.NODE_ENV === 'production' ? 'https://static-cdn.changchangenglish.com/new-sing/' : 'https://static-cdn.changchangenglish.com/new-sing/', + assetsPublicPath: process.env.NODE_ENV === 'production' ? 'https://static-cdn.changchangenglish.com/new-sing/' : '', /** * Source Maps diff --git a/src/components/map/index.vue b/src/components/map/index.vue index 12a9095f..63759467 100644 --- a/src/components/map/index.vue +++ b/src/components/map/index.vue @@ -76,7 +76,7 @@ </div> <div class="card-block" v-for="(data,index) in lessonList" > <img :src="data[0].cover+'?imageslim'"/> - <div :class="'card-li cid'+item.id" v-for="(item,x) in data" @click="showDia(item,x+1)"> + <div :class="'card-li cid'+item.id" v-for="(item,x) in data" @click="showDia"> <!-- showDia(item,x+1) --> <div class="text-block"> <div class="title"> {{item.name | substr10}} @@ -492,6 +492,7 @@ }, // 显示课程弹窗 showDia(data,i){ + alert(8888) if(data.push_time !== '0000-00-00'){ getLessonDetailApi(this.secActions.id,data.id,data.ele_id).then(res=>{ res.content = JSON.parse(res.content); -- 2.21.0