#982对Micros域名进行判断,修复Micros版注册用户的时候无法选择工作单位的BUG
This commit is contained in:
parent
5b91356463
commit
43fdec3f41
|
@ -16,7 +16,7 @@
|
|||
function get_options(value) {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: '/school/get_options/' + encodeURIComponent(value),
|
||||
url: '<%= Setting.host_name == "micros.nudt.edu.cn" ? '/ros/school/get_options/' : '/school/get_options/'%>' + encodeURIComponent(value),
|
||||
data: 'text',
|
||||
success: function (data) {
|
||||
$("#province").val(value)
|
||||
|
|
Loading…
Reference in New Issue