@@ -128,20 +128,19 @@ const initEditData = (data, index, id, arr = []) => {
}
if (arr.length) {
setList(arr)
- return
- api.projectApi.jyxList({
- company: id
- }).then(res => {
- if (res.code == 200) {
- setList(res.data)
- } else {
- ElMessage({
- message: res.msg,
- type: 'warning'
- })
- }
+ // api.projectApi.jyxList({
+ // company: id
+ // }).then(res => {
+ // if (res.code == 200) {
+ // setList(res.data)
+ // } else {
+ // ElMessage({
+ // message: res.msg,
+ // type: 'warning'
+ // })
+ // }
// 取消