fix: test way error
This commit is contained in:
@@ -262,10 +262,7 @@ const renderLineChart = () => {
|
|||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
const chart = new ApexCharts(document.querySelector("#sales-chart"), options)
|
const chart = new ApexCharts(document.querySelector("#sales-chart"), options)
|
||||||
console.log(1111);
|
|
||||||
|
|
||||||
chart.render();
|
chart.render();
|
||||||
console.log(chart);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -212,8 +212,6 @@ const getFinalData = () => {
|
|||||||
|
|
||||||
// 测试连接
|
// 测试连接
|
||||||
const handleTest = async () => {
|
const handleTest = async () => {
|
||||||
if (!validateFormData()) { return }
|
|
||||||
|
|
||||||
let postData = getFinalData()
|
let postData = getFinalData()
|
||||||
const rsp = await request.post('/sendways/test', postData)
|
const rsp = await request.post('/sendways/test', postData)
|
||||||
if (await rsp.data.code == 200) {
|
if (await rsp.data.code == 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user