表格默认选中行,在回调里写入 done: function (res, curr, count) { tableData = res.data; $("[data-field='id']").css('display', 'none'); var data = res.data; var num = 0; for (var i = 0; i < data.length; i++) { if (ExamStudentArray.indexOf(data[i].id) != -1)
方法一: 在新建ui文件时不要新建Dialog # -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'D:\pythonProjects\pyqtUITest\untitled6.ui' # # Created by: PyQt5 UI code generator 5.11.3 # # WARNING! All changes made in this file will be lost! f