autoUpdataFile

dev_local_v9_zzxy
eduauto 1 year ago
parent ac37419e7a
commit 02cff25859

@ -29,7 +29,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.12fe66cf.js"></script>
<script src="/react/build/umi.b33c1c4b.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -733,13 +733,13 @@ var IndexPage = function IndexPage(_ref) {
request.open("GET", path, true);
request.send();
};
//
ajaxGetRequest("http://educoder:educoder123@192.168.1.22/streams", function (res) {
// http://educoder:educoder123@192.168.1.22
ajaxGetRequest("/streams", function (res) {
var bb = JSON.parse(res);
// debugger
// console.log('---', JSON.parse(res));
if ((bb === null || bb === void 0 ? void 0 : bb.status) === 1) {
var item = res === null || res === void 0 ? void 0 : res.payload['1'];
var item = bb === null || bb === void 0 ? void 0 : bb.payload['1'];
var count = Object.keys(item.channels).length;
// console.log('---', count, item.name, item.channels);
@ -925,7 +925,7 @@ var IndexPage = function IndexPage(_ref) {
overflow: 'auto',
marginTop: 20
},
children: (_Array$fill = Array(videocount).fill({})) === null || _Array$fill === void 0 ? void 0 : _Array$fill.map(function (item, index) {
children: (_Array$fill = Array(videocount || 16).fill({})) === null || _Array$fill === void 0 ? void 0 : _Array$fill.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
span: 6,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(MsePlayer, {

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save