Commit eaaf1aff authored by youjie's avatar youjie

no message

parent 81ca5b3b
......@@ -238,6 +238,7 @@
watch: {
dataAll: {
handler(val, oldVal) {
if(val.tripColor){
this.backgroundColor = this.hexToRgb(val.tripColor, 0.2)
let rgba = this.hexToRgb(val.tripColor, 1)
rgba = rgba.split(',')
......@@ -248,16 +249,17 @@
}else{
this.textColor = "#333"
}
}
},
deep: true,
immediate: false
immediate: true
},
tripList: {
handler(val, oldVal) {
console.log(val,'1111--------')
},
deep: true,
immediate: false
immediate: true
},
},
mounted() {
......
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