Commit 1648fe1d authored by 罗超's avatar 罗超

修改

parent 6fb01a56
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
label="了解更多" label="了解更多"
class="q-px-lg" class="q-px-lg"
unelevated unelevated
@click="CommonJump('/About', {})" @click="CommonJump('/customer/14', {},'blank')"
/> />
</div> </div>
</div> </div>
......
...@@ -155,8 +155,9 @@ export default { ...@@ -155,8 +155,9 @@ export default {
this.changeMonthHandler(); this.changeMonthHandler();
}, },
changeMonthHandler() { changeMonthHandler() {
try {
this.col = []; this.col = [];
let newDate = new Date(this.months[this.currentMonth].monthValue); let newDate = new Date(this.months[this.currentMonth].monthValue+'/01');
let newBeginDate = date.startOfDate(newDate, "month"); let newBeginDate = date.startOfDate(newDate, "month");
let newEndDate = date.endOfDate(newDate, "month"); let newEndDate = date.endOfDate(newDate, "month");
for (let i = 0; i < date.formatDate(newBeginDate, "d"); i++) { for (let i = 0; i < date.formatDate(newBeginDate, "d"); i++) {
...@@ -180,6 +181,9 @@ export default { ...@@ -180,6 +181,9 @@ export default {
value: "", value: "",
}); });
} }
} catch (error) {
alert(error)
}
}, },
chosenDateHandler(item) { chosenDateHandler(item) {
if (item.price && item.price.remainNum>0) { if (item.price && item.price.remainNum>0) {
......
<template> <template>
<div class="q-mt-md"> <div class="q-mt-md" :class="{'q-px-md':$q.platform.is.mobile}">
<div class="text-subtitle2 text-weight-bold">產品概要</div> <div class="text-subtitle2 text-weight-bold">產品概要</div>
<div class="row q-pt-md q-col-gutter-md"> <div class="row q-pt-md q-col-gutter-md">
<div class="row items-center q-pt-mb" <div class="row items-center q-pt-mb"
......
...@@ -845,6 +845,7 @@ export default { ...@@ -845,6 +845,7 @@ export default {
console.log(r.data,'r.data.data.id') console.log(r.data,'r.data.data.id')
if(r.data.OtherFile){ if(r.data.OtherFile){
this.tripImages=r.data.OtherFile this.tripImages=r.data.OtherFile
this.$forceUpdate();
} }
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment