add: 增加生日有礼页面
This commit is contained in:
17
src/views/marketing_center/data.js
Normal file
17
src/views/marketing_center/data.js
Normal file
@@ -0,0 +1,17 @@
|
||||
export const userTypes = [
|
||||
{
|
||||
label: "全部用户",
|
||||
value: "all",
|
||||
},
|
||||
{
|
||||
label: "非会员用户",
|
||||
value: "non_vip",
|
||||
},
|
||||
{
|
||||
label: "仅会员用户",
|
||||
value: "vip",
|
||||
},
|
||||
];
|
||||
export const returnUserType = (type) => {
|
||||
return userTypes.find((item) => item.value === type)?.label;
|
||||
};
|
||||
Reference in New Issue
Block a user