Browse Source

no message

索隆 6 years ago
parent
commit
363048dfa5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/prediction.js

+ 1 - 1
js/prediction.js

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