From b0232a13beedbafe3e9a02b0006718655f632826 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 07 五月 2024 18:30:46 +0800
Subject: [PATCH] 车间管理模块 修改操作的时候数据未刷新的问题修改
---
src/api/data.js | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/api/data.js b/src/api/data.js
index 815656d..def6c5e 100644
--- a/src/api/data.js
+++ b/src/api/data.js
@@ -12,10 +12,17 @@
{ id: 3, value: "浼戝亣" },
{ id: 4, value: "寮傚父" },
]
+const silkSet=[
+ { id: 1, value: "閲庣氦" },
+ { id: 2, value: "澶ч噹" },
+ { id: 3, value: "鐗归噹" },
+]
export const getDataByType = (type) => {
if (type == "projectOptions") {
return projectOptions
}else if(type=='attendanceStatus'){
return attendanceStatus
+ }else if(type=='silkSet'){
+ return silkSet;
}
}
--
Gitblit v1.8.0