[修改] target

This commit is contained in:
bupengxiang
2023-05-08 10:34:12 +08:00
parent 713df8cc87
commit 3542bd6899
705 changed files with 116654 additions and 0 deletions
@@ -0,0 +1,19 @@
function checkModelKey(field, modelId){
var host = document.domain;
if(host.indexOf('localhost')>=0){
host = 'http://localhost:7060/library/api';
}else{
host = '/library/api';
}
var msg = '';
jQuery.ajax({
url:host + '/check_define_key',
data:{modelId:modelId, key: field },
async:false,
dataType:'json',
success:function(data){
msg = data.result;
}
})
return msg;
}