Browse Source

Fix bug on Safari.

pull/6/head
t123yh 7 years ago
parent
commit
7e3bb6daec
  1. 4
      views/submission.ejs
  2. 4
      views/submissions.ejs

4
views/submission.ejs

@ -3,7 +3,7 @@
<% include header %> <% include header %>
<script src="/textFit.js"></script> <script src="/textFit.js"></script>
<span id="submission_content"> <span id="submission_content">
<div class="padding" id="vueApp"> <div class="padding" id="vueAppFuckSafari">
<table class="ui very basic center aligned table" id="status_table"> <table class="ui very basic center aligned table" id="status_table">
<thead> <thead>
<tr> <tr>
@ -148,7 +148,7 @@ const TaskStatus = {};
})(TaskStatus); })(TaskStatus);
const vueApp = new Vue({ const vueApp = new Vue({
el: '#vueApp', el: '#vueAppFuckSafari',
data: { data: {
roughData: { roughData: {
info: <%- JSON.stringify(info) %>, info: <%- JSON.stringify(info) %>,

4
views/submissions.ejs

@ -80,7 +80,7 @@
<% } %> <% } %>
</div> </div>
</form> </form>
<table id="vueApp" class="ui very basic center aligned table" style="white-space: nowrap; " id="table"> <table id="vueAppFuckSafari" class="ui very basic center aligned table" style="white-space: nowrap; " id="table">
<thead> <thead>
<tr> <tr>
<th>编号</th> <th>编号</th>
@ -117,7 +117,7 @@ const socketUrl = <%- syzoj.utils.judgeServer(pushType) %>;
const displayConfig = <%- JSON.stringify(displayConfig) %>; const displayConfig = <%- JSON.stringify(displayConfig) %>;
const vueApp = new Vue({ const vueApp = new Vue({
el: '#vueApp', el: '#vueAppFuckSafari',
data: { data: {
items: itemList, items: itemList,
displayConfig: displayConfig displayConfig: displayConfig

Loading…
Cancel
Save