#I8S6E2 修复:工作类型中禁用某个类型后,但在添加任务时仍然显示该类型的问题
This commit is contained in:
parent
ac371d08c1
commit
2c2a03608d
@ -57,7 +57,7 @@ function get_project($uid = 0)
|
|||||||
//读取工作分类列表
|
//读取工作分类列表
|
||||||
function work_cate()
|
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;
|
return $cate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user