Update index.html
Browse files- index.html +33 -1
index.html
CHANGED
@@ -1143,9 +1143,41 @@
|
|
1143 |
|
1144 |
return (
|
1145 |
<div>
|
1146 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1147 |
<DataTable data={response.data.content ? response.data.content : []} columns={columns} />
|
1148 |
)}
|
|
|
1149 |
</div>
|
1150 |
);
|
1151 |
};
|
|
|
1143 |
|
1144 |
return (
|
1145 |
<div>
|
1146 |
+
<div className="d-flex justify-content-between align-items-center p-2 border-bottom bg-light">
|
1147 |
+
<label className="fs-3">文件列表</label>
|
1148 |
+
<ButtonToolbar
|
1149 |
+
aria-label="功能区"
|
1150 |
+
className="bg-teal rounded"
|
1151 |
+
>
|
1152 |
+
<ButtonGroup className="bg-teal">
|
1153 |
+
<IconButton
|
1154 |
+
onClick={() => {
|
1155 |
+
emitEvent("test", { a: 'b' })
|
1156 |
+
}}
|
1157 |
+
text="刷新"
|
1158 |
+
className="bg-teal border-0"
|
1159 |
+
icon="reload"
|
1160 |
+
iconClassName="me-1 text-white"
|
1161 |
+
iconSize="6"
|
1162 |
+
/>
|
1163 |
+
</ButtonGroup>
|
1164 |
+
</ButtonToolbar>
|
1165 |
+
</div>
|
1166 |
+
<Container fluid className="p-2">
|
1167 |
+
{error && (
|
1168 |
+
<div className="text-center text-danger">
|
1169 |
+
{error}
|
1170 |
+
</div>
|
1171 |
+
)}
|
1172 |
+
{(loading) && (
|
1173 |
+
<div className="text-center text-success">
|
1174 |
+
正在努力加载中......
|
1175 |
+
</div>
|
1176 |
+
)}
|
1177 |
+
{response && (
|
1178 |
<DataTable data={response.data.content ? response.data.content : []} columns={columns} />
|
1179 |
)}
|
1180 |
+
</Container>
|
1181 |
</div>
|
1182 |
);
|
1183 |
};
|