liushengqiang před 2 roky
rodič
revize
4cb2fc7b3d
1 změnil soubory, kde provedl 3 přidání a 4 odebrání
  1. 3 4
      src/views/subject-echarts/index.tsx

+ 3 - 4
src/views/subject-echarts/index.tsx

@@ -205,7 +205,6 @@ export default defineComponent({
             max: 500,
             axisLabel: {
               formatter: function(value: number, index: number) {
-                console.log(value, index)
                 return value + ''
               }
             }
@@ -230,7 +229,6 @@ export default defineComponent({
             max: 100,
             axisLabel: {
               formatter: function(value: number, index: number) {
-                console.log(value, index)
                 return value + '%'
               }
             }
@@ -251,7 +249,7 @@ export default defineComponent({
 
       option && myChart.setOption(option)
       myChart.on('highlight', function (params: any) {
-        console.log("🚀 ~ params:", params)
+        // console.log("🚀 ~ params:", params)
         activeData.index = params.batch[0].dataIndex
       })
       // console.log('🚀 ~ myChart:', myChart)
@@ -273,7 +271,7 @@ export default defineComponent({
       item.select = !item.select
     }
     onMounted(() => {
-      // handleInit({ content: { practiceThisWeeks: [], sum: {} } })
+      handleInit({ content: { practiceThisWeeks: [], sum: {} } })
       listenerMessage('setAccomanyEcharts', handleInit)
       postMessage({
         api: 'setAccomanyEcharts'
@@ -284,6 +282,7 @@ export default defineComponent({
     })
     const goto = () => {
       const url = location.origin + location.pathname + `#/exercise-record`
+      console.log("🚀 ~ url:", url)
       postMessage({
         api: 'openWebView',
         content: {