#I8S6E2 修复:工作类型中禁用某个类型后,但在添加任务时仍然显示该类型的问题

This commit is contained in:
HDM58\hdm58 2024-01-06 16:24:06 +08:00
parent ac371d08c1
commit 2c2a03608d

View File

@ -57,7 +57,7 @@ function get_project($uid = 0)
//读取工作分类列表
function work_cate()
{
$cate = Db::name('WorkCate')->order('id desc')->select()->toArray();
$cate = Db::name('WorkCate')->where(['status' => 1])->order('id desc')->select()->toArray();
return $cate;
}