Browse Source

fix: 修复缓冲液滑动的问题

master
guoapeng 4 months ago
parent
commit
722f2f7ae7
  1. 2
      src/pages/Index/Regular/Consumables.vue
  2. 2
      src/pages/Index/components/Consumables/DragAreaEx.vue

2
src/pages/Index/Regular/Consumables.vue

@ -271,7 +271,7 @@ const updateLittleBottomNum = async ({
sync: boolean sync: boolean
}) => { }) => {
if (bottleNum < 0) { if (bottleNum < 0) {
return
bottleNum = 0
} }
if (deviceStore.deviceState.workState !== 'WORKING') { if (deviceStore.deviceState.workState !== 'WORKING') {
consumableStore.setDisableUpdateConsumableData(true) consumableStore.setDisableUpdateConsumableData(true)

2
src/pages/Index/components/Consumables/DragAreaEx.vue

@ -20,7 +20,7 @@
</template> </template>
<script setup> <script setup>
import { ref, onMounted, onUnmounted, watch, useTemplateRef } from 'vue'
import { ref, onMounted, watch, useTemplateRef } from 'vue'
const props = defineProps({ const props = defineProps({
hVal: { hVal: {

Loading…
Cancel
Save