6bf1f26d by zhangmeng

看版

1 parent 43167b6d
......@@ -28,8 +28,8 @@ const url = ref()
const obj = ref({})
const result = ref()
const router = useRouter()
url.value = 'http://192.168.1.152:8899/login/sid=a21df7ef-6d14-4cf3-ad58-c68185f63797#/'
// url.value = window.location.href
// url.value = 'http://192.168.1.152:8899/login/sid=a21df7ef-6d14-4cf3-ad58-c68185f63797#/'
url.value = window.location.href
result.value = url.value?.split('=')[1]?.split('#')[0];
onMounted(() => {
......
......@@ -484,7 +484,8 @@ const setA = (arr, arr2, arr3) => {
color: function (params) {
// 自定义颜色
let colorList = [
'#8791FD', '#E35E1C', '#E47B75', '#F4AB09', '#F7E10F', '#068EEF', '#1050E4', '#01D7F0', '#46E874'
'#8791FD', '#E35E1C', '#E47B75', '#F4AB09', '#F7E10F', '#068EEF', '#1050E4', '#01D7F0', '#46E874', '#F5F5F5', '#5470C6', '#91CC75', '#FAC858', '#EE6666', '#73C0DE', '#3BA272', '#FC8452', '#9A60B4', '#EA7CCC', '#1E90FF', '#508DFF', '#5FE2E4', '#FCE5CA',
'#A6A9FF', '#7AFF9C', '#FFD6D4', '#FFE082'
];
return colorList[params.dataIndex]
}
......
......@@ -846,6 +846,9 @@ const setC = (arry, arr1, arr2, arr3) => {
color: '#fff', // 文字颜色
fontSize: 12, // 文字大小
},
axisPointer: {
type: 'none' // 关闭悬浮竖线
},
position: 'top',
// formatter: function (row) {
// return `
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!