Explorar el Código

fix gen avatar

ming hace 3 años
padre
commit
6ef4a1d9cb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/static/script_msg.js

+ 1 - 1
api/static/script_msg.js

@@ -80,7 +80,7 @@ $(".gen_avatar").click(function(){
 	type: 'post',
 	data: objstr,
 	success: function(suc_data) {
-    alert(suc_data)
+    alert(suc_data.msg)
   },
 	//data:JSON.stringify({n1:"12",n2:"22"}),
 	error: function (error) {