Browse Source

pre setting

master
maochaoying 2 years ago
parent
commit
92cc27b1f8
  1. 19
      src/components/PreSetting.vue

19
src/components/PreSetting.vue

@ -259,10 +259,6 @@ const stoped_humi = ref('0')
const continued_humi = ref('0') const continued_humi = ref('0')
const pre_heat_time_s = ref('0') const pre_heat_time_s = ref('0')
const save = () => {
console.log(123)
}
const pre_heat_time_sShow = ref(false) const pre_heat_time_sShow = ref(false)
const addLiquidConfigValShow = ref(false) const addLiquidConfigValShow = ref(false)
const sprayLiquidConfigValShow = ref(false) const sprayLiquidConfigValShow = ref(false)
@ -277,6 +273,21 @@ const continued_humiShow = ref(false)
const logVisible = ref(false) const logVisible = ref(false)
const logVal = ref('6') const logVal = ref('6')
const save = () => {
const data = {
loglevel: logVal.value,
injection_pump_speed: sprayLiquidConfigVal.value,
stoped_gs: stoped_gs.value,
continued_gs: continued_gs.value,
stoped_satur: stoped_satur.value,
continued_satur: continued_satur.value,
stoped_humi: stoped_humi.value,
continued_humi: continued_humi.value,
}
console.log(data)
props.hideSettingModal()
}
const changeLogVal = val => { const changeLogVal = val => {
logVal.value = val logVal.value = val
logVisible.value = false logVisible.value = false

Loading…
Cancel
Save