Merge pull request 'fix: 编辑上报时主项目选项过滤当前项目' (#991) from master into prod
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/991
This commit is contained in:
@@ -520,7 +520,11 @@ const disabledDate = (time) => {
|
||||
const getProjectList = () => {
|
||||
getProjectOption().then(res => {
|
||||
if (res.code === 1000) {
|
||||
masterProjectList.value = res.data
|
||||
if(name.value === 'Summary/edit'){
|
||||
masterProjectList.value = res.data.filter(item => item.value!=route.query.projectId)
|
||||
}else{
|
||||
masterProjectList.value = res.data
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user