zwxi 5 月之前
父节点
当前提交
7fc5665a41
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/bi_dashboard.go

+ 1 - 1
controllers/bi_dashboard.go

@@ -1050,7 +1050,7 @@ func (this *BIDaShboardController) PublicCancel() {
 
 	item.State = 1
 
-	err = bi_dashboard.SaveDashboard(item)
+	err = bi_dashboard.EditDashboard(item)
 	if err != nil {
 		br.Msg = "编辑失败"
 		br.ErrMsg = "编辑失败,Err:" + err.Error()