数据字典
diff --git a/leave-school-vue/src/mock/user.js b/leave-school-vue/src/mock/user.js
index 431f833..2901ddc 100644
--- a/leave-school-vue/src/mock/user.js
+++ b/leave-school-vue/src/mock/user.js
@@ -8,7 +8,7 @@
'ghxh': '@id',
'xm': '000@id',
'zhlb|1': ['教职工', '学生', '其他'],
- 'xb|1': ['男', '女'],
+ 'sex|1': ['男', '女'],
'zt|1': ['启用', '停用'],
'yx': '@cword(3, 5)',
'xybm': '@word(6, 10)',
@@ -34,7 +34,7 @@
}]
)
-const xbList = Mock.mock(
+const sexList = Mock.mock(
[{
'value': 'male',
'label': '男'
@@ -65,7 +65,7 @@
const pageList = mockList.filter((item, index) => index < pageSize * pageIndex && index >= pageSize * (pageIndex - 1))
return {
- xbList: xbList,
+ sexList: sexList,
ztList: ztList,
zhlbList: zhlbList,
items: pageList,