fix: 修复jobList.jsp中companyId变量初始化顺序问题
This commit is contained in:
@ -20,7 +20,10 @@
|
||||
src="<%=request.getContextPath()%>/node_modules/bootstrap-switch/dist/js/bootstrap-switch.min.js"
|
||||
charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
var companyId = unitId;
|
||||
var companyId = '';
|
||||
$(function() {
|
||||
companyId = unitId;
|
||||
});
|
||||
var addFun = function () {
|
||||
$.post(ext.contextPath + '/user/addJob.do', {companyId: companyId}, function (data) {
|
||||
$("#subDiv").html(data);
|
||||
|
||||
Reference in New Issue
Block a user