fix(build): 修复打包过程中的依赖和导入错误
- 安装缺失的 sass 依赖解决预处理器报错问题 - 安装 element-plus 组件库依赖,修复相关页面构建失败 - 修正 customerLead 页面错误导入的 listUser 为 listUsers - 确认修复后 pnpm build 成功,产物正常生成 - 更新 package.json 和 pnpm-lock.yaml,引入新依赖并锁定版本
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
allow-clear
|
||||
size="large"
|
||||
v-model:value="form.account"
|
||||
placeholder="请输入用户ID或邮箱"
|
||||
placeholder="请输入邮箱"
|
||||
>
|
||||
<template #prefix>
|
||||
<UserOutlined />
|
||||
@@ -377,7 +377,7 @@
|
||||
account: [
|
||||
{
|
||||
required: true,
|
||||
message: '请输入用户ID或邮箱',
|
||||
message: '请输入邮箱',
|
||||
type: 'string',
|
||||
trigger: 'blur'
|
||||
},
|
||||
@@ -391,7 +391,7 @@
|
||||
if (isEmail || isNumber) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
return Promise.reject(new Error('请输入正确的用户ID或邮箱'));
|
||||
return Promise.reject(new Error('请输入正确邮箱'));
|
||||
},
|
||||
trigger: 'blur'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user