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++ lineIndex.value++
} }
onMounted(async () => { onMounted(() => {
// await getMaterialData() getMaterialData()
}) })
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">

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

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

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

@ -228,8 +228,8 @@ const getJobCharts = async () => {
]) ])
lineIndex.value++ lineIndex.value++
} }
onMounted(async () => { onMounted( () => {
// await getProductData() getProductData()
}) })
</script> </script>
<style scoped lang="scss"> <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 let str = getStrDictOptions(dict).filter((item) => type == item.value)[0]?.label
return str return str
} }
onMounted(async () => { onMounted( () => {
// await getSupplierData() getSupplierData()
getList() getList()
}) })
</script> </script>

Loading…
Cancel
Save