|
|
@ -12,6 +12,7 @@ const loglevel = ref(formulaStore.loglevel) |
|
|
|
const isModalOpen = ref(false) |
|
|
|
|
|
|
|
const homeStore = useHomeStore() |
|
|
|
const showLogLevelInput = computed(() => formulaStore.selectedFormulaInfo === null) |
|
|
|
|
|
|
|
watchEffect(() => { |
|
|
|
options.value = formulaStore.logLevelOptions |
|
|
@ -49,7 +50,7 @@ const operationState = computed(() => { |
|
|
|
</script> |
|
|
|
|
|
|
|
<template> |
|
|
|
<div class="home-right-level"> |
|
|
|
<div v-if="showLogLevelInput" class="home-right-level"> |
|
|
|
消毒等级: |
|
|
|
<el-input |
|
|
|
v-model="loglevel" |
|
|
@ -77,11 +78,13 @@ const operationState = computed(() => { |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
$input-height: 3rem; |
|
|
|
.page-wrapper { |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
.home-right-level { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
margin-top: 24vh; |
|
|
|
//font-family: Source Han Sans; |
|
|
|
font-size: 24px; |
|
|
|
.input { |
|
|
|