Auto Submit

pull/1/head
autosubmit 2 years ago
parent fc757b392d
commit a175feb30e

@ -318,7 +318,7 @@
let data = [];
// handleElements()
const id = location.search.replace("?","").split("=")[1]
const id = JSON.parse(sessionStorage.tasksData).myshixun.identifier
axios.get("https://data.educoder.net/api/myshixuns/"+ id +"/challenges.json", {
withCredentials: true
}).then(function (res) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

@ -2185,12 +2185,11 @@ var Config_SetPublic = function SetPublic(_ref) {
}
}, {
title: '操作',
dataIndex: 'cz',
width: 60,
render: function render(text, item, i) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
onClick: function onClick() {
return deleteFlies(text === null || text === void 0 ? void 0 : text.id, i);
return deleteFlies(item === null || item === void 0 ? void 0 : item.id, i);
},
className: "c-red current",
children: "\u5220\u9664"

@ -102,7 +102,7 @@
<body>
<div class="layout">
<img class="layout__logo" src="images/logo.jpg" alt="logo">
<img class="layout__logo" src="images/logo.png" alt="头歌实践教学平台">
<div class="layout__desc">浏览器版本过低,请立即升级</div>
<div class="layout__body card">
<div class="card__info">
@ -133,7 +133,7 @@
</ul>
<div class="recommend tc">
<span>推荐使用下浏览器</span>
<span>推荐使用下浏览器</span>
</div>
<div class="btn">
<a href="https://www.google.cn/intl/zh-cn/chrome/" target="_blank">
@ -184,8 +184,10 @@
var regStr_ff = /firefox\/[\d.]+/gi
var regStr_chrome = /chrome\/[\d.]+/gi;
var regStr_saf = /safari\/[\d.]+/gi;
var isWeChat = /MicroMessenger/i.test(navigator.userAgent);
var weChatVersion = '';
if(IEVersion() != '-1'){
if (IEVersion() != '-1') {
return "IE " + IEVersion()
}
@ -209,6 +211,15 @@
return agent.match(regStr_chrome);
}
if (isWeChat) {
var match = navigator.userAgent.match(/MicroMessenger\/([\d\.]+)/i);
if (match) {
weChatVersion = match[1];
return "MicroMessenger " + weChatVersion
}
}
}
var browser = getBrowserInfo();

Loading…
Cancel
Save