看版
Showing
3 changed files
with
7 additions
and
3 deletions
| ... | @@ -28,8 +28,8 @@ const url = ref() | ... | @@ -28,8 +28,8 @@ const url = ref() |
| 28 | const obj = ref({}) | 28 | const obj = ref({}) |
| 29 | const result = ref() | 29 | const result = ref() |
| 30 | const router = useRouter() | 30 | const router = useRouter() |
| 31 | url.value = 'http://192.168.1.152:8899/login/sid=a21df7ef-6d14-4cf3-ad58-c68185f63797#/' | 31 | // url.value = 'http://192.168.1.152:8899/login/sid=a21df7ef-6d14-4cf3-ad58-c68185f63797#/' |
| 32 | // url.value = window.location.href | 32 | url.value = window.location.href |
| 33 | result.value = url.value?.split('=')[1]?.split('#')[0]; | 33 | result.value = url.value?.split('=')[1]?.split('#')[0]; |
| 34 | 34 | ||
| 35 | onMounted(() => { | 35 | onMounted(() => { | ... | ... |
| ... | @@ -484,7 +484,8 @@ const setA = (arr, arr2, arr3) => { | ... | @@ -484,7 +484,8 @@ const setA = (arr, arr2, arr3) => { |
| 484 | color: function (params) { | 484 | color: function (params) { |
| 485 | // 自定义颜色 | 485 | // 自定义颜色 |
| 486 | let colorList = [ | 486 | let colorList = [ |
| 487 | '#8791FD', '#E35E1C', '#E47B75', '#F4AB09', '#F7E10F', '#068EEF', '#1050E4', '#01D7F0', '#46E874' | 487 | '#8791FD', '#E35E1C', '#E47B75', '#F4AB09', '#F7E10F', '#068EEF', '#1050E4', '#01D7F0', '#46E874', '#F5F5F5', '#5470C6', '#91CC75', '#FAC858', '#EE6666', '#73C0DE', '#3BA272', '#FC8452', '#9A60B4', '#EA7CCC', '#1E90FF', '#508DFF', '#5FE2E4', '#FCE5CA', |
| 488 | '#A6A9FF', '#7AFF9C', '#FFD6D4', '#FFE082' | ||
| 488 | ]; | 489 | ]; |
| 489 | return colorList[params.dataIndex] | 490 | return colorList[params.dataIndex] |
| 490 | } | 491 | } | ... | ... |
| ... | @@ -846,6 +846,9 @@ const setC = (arry, arr1, arr2, arr3) => { | ... | @@ -846,6 +846,9 @@ const setC = (arry, arr1, arr2, arr3) => { |
| 846 | color: '#fff', // 文字颜色 | 846 | color: '#fff', // 文字颜色 |
| 847 | fontSize: 12, // 文字大小 | 847 | fontSize: 12, // 文字大小 |
| 848 | }, | 848 | }, |
| 849 | axisPointer: { | ||
| 850 | type: 'none' // 关闭悬浮竖线 | ||
| 851 | }, | ||
| 849 | position: 'top', | 852 | position: 'top', |
| 850 | // formatter: function (row) { | 853 | // formatter: function (row) { |
| 851 | // return ` | 854 | // return ` | ... | ... |
-
Please register or sign in to post a comment