change 使用权重值百分比作为 normalize method
This commit is contained in:
@@ -6,8 +6,8 @@ const ReportPage = () => {
|
||||
const getReport = async () => {
|
||||
const resp = await fetch("/api/html").then((resp) => resp.json());
|
||||
ref.current.innerHTML = resp.html;
|
||||
const json: Record<string, string> = await fetch("/api/tool").then(
|
||||
(resp) => resp.json()
|
||||
const json: Record<string, string> = await fetch("/api/tool").then((resp) =>
|
||||
resp.json()
|
||||
);
|
||||
const table = ref.current.children[0];
|
||||
const tbody = table.children[table.children.length - 1];
|
||||
@@ -47,4 +47,4 @@ const ReportPage = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default ReportPage;
|
||||
export default ReportPage;
|
||||
|
||||
Reference in New Issue
Block a user