diff --git a/cdTMP/src/api/project/singleProblem.js b/cdTMP/src/api/project/singleProblem.js
index 19c1ba4..9bc1337 100644
--- a/cdTMP/src/api/project/singleProblem.js
+++ b/cdTMP/src/api/project/singleProblem.js
@@ -1,10 +1,24 @@
import { request } from "@/api/request"
export default {
+ /**
+ * 得到单个问题单信息
+ */
getSingleProblem(params = {}) {
return request({
url: "/project/getSingleProblem",
method: "get",
params
})
+ },
+ /**
+ * 参数是对象,对象里面1.id-问题单id
+ * @returns 问题单关联的用例
+ */
+ getRelativeCases(params = {}) {
+ return request({
+ url: "/project/getRelativeCases",
+ method: "get",
+ params
+ })
}
}
diff --git a/cdTMP/src/components/Empty/index.vue b/cdTMP/src/components/Empty/index.vue
index 476fea8..6462e1c 100644
--- a/cdTMP/src/components/Empty/index.vue
+++ b/cdTMP/src/components/Empty/index.vue
@@ -21,6 +21,7 @@ const text = ref("暂无数据")
color: #aaa;
p {
margin-top: 6px;
+ user-select: none;
}
}
diff --git a/cdTMP/src/layout/components/footer.vue b/cdTMP/src/layout/components/footer.vue
index a8c2226..dc8019d 100644
--- a/cdTMP/src/layout/components/footer.vue
+++ b/cdTMP/src/layout/components/footer.vue
@@ -1,15 +1,15 @@
-