From 1cd64a26daed3e0eb7b4ccf74e50267d79eaef09 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 07 五月 2024 18:21:56 +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