Browse Source

首页卡顿

master_hella_20240701
yufei0306 6 months ago
parent
commit
f6e6136c71
  1. 4
      src/views/home/components/material.vue
  2. 4
      src/views/home/components/produce.vue
  3. 4
      src/views/home/components/product.vue
  4. 4
      src/views/home/components/supplierIndex.vue

4
src/views/home/components/material.vue

@ -250,8 +250,8 @@ const getJobCharts = async () => {
])
lineIndex.value++
}
onMounted(async () => {
// await getMaterialData()
onMounted(() => {
getMaterialData()
})
</script>
<style scoped lang="scss">

4
src/views/home/components/produce.vue

@ -201,8 +201,8 @@ const getJobCharts = async () => {
])
lineIndex.value++
}
onMounted(async () => {
// await getProduceData()
onMounted( () => {
getProduceData()
})
</script>
<style scoped lang="scss">

4
src/views/home/components/product.vue

@ -228,8 +228,8 @@ const getJobCharts = async () => {
])
lineIndex.value++
}
onMounted(async () => {
// await getProductData()
onMounted( () => {
getProductData()
})
</script>
<style scoped lang="scss">

4
src/views/home/components/supplierIndex.vue

@ -354,8 +354,8 @@ const formatter = (type,dict) => {
let str = getStrDictOptions(dict).filter((item) => type == item.value)[0]?.label
return str
}
onMounted(async () => {
// await getSupplierData()
onMounted( () => {
getSupplierData()
getList()
})
</script>

Loading…
Cancel
Save