diff --git a/api/app/lib/controllers/means/index.js b/api/app/lib/controllers/means/index.js
index 4447e4c..1698b08 100644
--- a/api/app/lib/controllers/means/index.js
+++ b/api/app/lib/controllers/means/index.js
@@ -5,13 +5,15 @@ async function addEditFile (ctx, next) {
try {
const models = ctx.fs.dc.models;
const data = ctx.request.body;
- const { higherFileId, fileName } = data
+ const { higherFileId, fileName, projectId, type } = data
let onefind = await models.ProjectFolder.findOne({
where: {
higherFileId: higherFileId || null,
- fileName
+ fileName,
+ projectId,
+ type
}
})
if (onefind) {
diff --git a/web/client/src/sections/means/containers/devOpsStandard.jsx b/web/client/src/sections/means/containers/devOpsStandard.jsx
index d707fe4..352f642 100644
--- a/web/client/src/sections/means/containers/devOpsStandard.jsx
+++ b/web/client/src/sections/means/containers/devOpsStandard.jsx
@@ -404,7 +404,7 @@ const Rest = (props) => {
bordered={false}
empty={
-
暂无告警数据
+
暂无文件
}
onRow={(record, index) => {
diff --git a/web/client/src/sections/means/containers/faultInformation.jsx b/web/client/src/sections/means/containers/faultInformation.jsx
index 484dcbf..f1f759c 100644
--- a/web/client/src/sections/means/containers/faultInformation.jsx
+++ b/web/client/src/sections/means/containers/faultInformation.jsx
@@ -404,7 +404,7 @@ const Rest = (props) => {
bordered={false}
empty={
-
暂无告警数据
+
暂无文件
}
onRow={(record, index) => {
diff --git a/web/client/src/sections/means/containers/projectMeans.jsx b/web/client/src/sections/means/containers/projectMeans.jsx
index 8e78da2..d052bd8 100644
--- a/web/client/src/sections/means/containers/projectMeans.jsx
+++ b/web/client/src/sections/means/containers/projectMeans.jsx
@@ -404,7 +404,7 @@ const Rest = (props) => {
bordered={false}
empty={
-
暂无告警数据
+
暂无文件
}
onRow={(record, index) => {
diff --git a/web/client/src/sections/means/containers/repairFQA.jsx b/web/client/src/sections/means/containers/repairFQA.jsx
index fbdeaff..436a444 100644
--- a/web/client/src/sections/means/containers/repairFQA.jsx
+++ b/web/client/src/sections/means/containers/repairFQA.jsx
@@ -404,7 +404,7 @@ const Rest = (props) => {
bordered={false}
empty={
-
暂无告警数据
+
暂无文件
}
onRow={(record, index) => {