Browse Source

no message

索隆 6 years ago
parent
commit
fef455cb32
2 changed files with 2 additions and 2 deletions
  1. 1 1
      js/management.js
  2. 1 1
      js/prediction.js

+ 1 - 1
js/management.js

@@ -20,6 +20,6 @@ function getList(page){
20 20
 pageGo = getList;
21 21
 
22 22
 function updateStatus(obj, id){
23
-	confrim("禁用该用户将无法在小程序中进行操作,是否继续?",function(){
23
+	Confirm("禁用该用户将无法在小程序中进行操作,是否继续?",function(){
24 24
 	});
25 25
 }

+ 1 - 1
js/prediction.js

@@ -21,7 +21,7 @@ pageGo = getList;
21 21
 
22 22
 function updateStatus(obj, id){
23 23
 	var status = $(obj).data("status"), statusTxt=status.decode(0,'上架','-1','下架');
24
-	confrim("该预测将被禁用并在列表中"+statusTxt+",是否继续操作?",function(){
24
+	Confirm("该预测将被禁用并在列表中"+statusTxt+",是否继续操作?",function(){
25 25
 		ajax(apiUrl+"forecast/frame",{"forecastId": id,"onFrame": status},function(res){
26 26
 			if(res.code == 1){
27 27
 				$(obj).text(statusTxt);