diff --git a/index.html b/index.html
index ccc2407..702d0b8 100644
--- a/index.html
+++ b/index.html
@@ -80,8 +80,8 @@
@@ -530,7 +530,8 @@
$(document).on('click','.chaxun',function(){
var fromdata = layui.form.val('example');
var is_unique;
- if(fromdata.eventname == "true"){
+ console.log(fromdata);
+ if(fromdata.only == "true"){
is_unique = true
}else {
is_unique = false