Browse Source

fix: 密封测试初始化取store的值

master
guoapeng 1 week ago
parent
commit
138cdf88ca
  1. 2
      src/views/seal/index.vue

2
src/views/seal/index.vue

@ -17,7 +17,7 @@ defineOptions({ name: 'Seal' })
const sealStore = useSealStore() const sealStore = useSealStore()
const initialPressure = ref<string>('0')
const initialPressure = ref<string>(sealStore.sealInfo.pressure)
const sealInfo = computed(() => sealStore.sealInfo) const sealInfo = computed(() => sealStore.sealInfo)
const leakRemainingTime = computed(() => sealStore.leakRemainingTime) const leakRemainingTime = computed(() => sealStore.leakRemainingTime)
const currentPressure = computed(() => sealStore.currentPressure) const currentPressure = computed(() => sealStore.currentPressure)

Loading…
Cancel
Save