Commit 3365aa48 authored by youjie's avatar youjie

no message

parent 12342918
......@@ -113,7 +113,8 @@
watch: {
priceList: {
handler(newVal, oldValue) {
this.prices = newVal;
this.prices = JSON.parse(JSON.stringify(newVal));
this.$forceUpdate();
this.init();
},
deep: true, // 深度监听
......
......@@ -151,12 +151,6 @@
square
icon="iconfont icontime"
label="行程時間 1 天" />
<q-chip
class="transparent q-mr-xl no-padding"
square
icon="iconfont iconnetwork-fill"
label="日本語/中文 導覽"
/>
<q-chip
class="transparent q-mr-xl no-padding"
square
......
......@@ -445,12 +445,6 @@
square
icon="iconfont icontime"
:label="`住宿時間 ${liveNvm} 晚`" />
<q-chip
class="transparent q-mr-xl no-padding"
square
icon="iconfont iconnetwork-fill"
label="日本語/中文 導覽"
/>
</div>
</div>
<div
......@@ -1008,9 +1002,9 @@ export default {
};
},
watch: {
days: {
SimilarList: {
handler: function (val, oldval) {
this.days = val;
this.SimilarList = val;
},
immediate: true,
deep: true,
......@@ -1530,11 +1524,7 @@ export default {
});
} else {
this.$q.notify({
type: "negative",
message: res.data.message,
position: "top",
});
this.$message.error(res.data.message);
}
},
......@@ -1550,10 +1540,7 @@ export default {
(res) => {
this.$q.loading.hide();
if (res.data.resultCode == 1) {
this.SimilarList = []
if (
Object.prototype.toString.call(res.data.data.roomRateDetails) ==
"[object Object]"
if (Object.prototype.toString.call(res.data.data.roomRateDetails) =="[object Object]"
) {
this.SimilarList.push(res.data.data.roomRateDetails);
} else {
......@@ -1589,11 +1576,9 @@ export default {
});
this.JapanIncrease = res.data.data.JapanIncrease;
} else {
this.$q.notify({
type: "negative",
message: res.data.message,
position: "top",
});
this.SimilarList = []
this.$message.error(res.data.message=='No results match your search.'?'當前入住日期未報價,請選擇其他日期看看吧':res.data.message)
}
},
......
......@@ -151,12 +151,6 @@
square
icon="iconfont icontime"
:label="`包車時長:${dataList.TravelHours} h`" />
<q-chip
class="transparent q-mr-xl no-padding"
square
icon="iconfont iconnetwork-fill"
label="日本語/中文 導覽"
/>
<q-chip
class="transparent q-mr-xl no-padding"
square
......
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