升级element-plus依赖到V2.5.3

This commit is contained in:
dataprince 2024-01-30 15:34:33 +08:00
parent 6a6b1fd7b1
commit 2c116b39bf
9 changed files with 12 additions and 11 deletions

View File

@ -107,10 +107,10 @@ java后端项目是Ruoyi-Flex后端项目地址: [Ruoyi-Flex](https://gitee.c
#### 克隆项目 #### 克隆项目
git clone https://gitee.com/dataprince/flex-elementplus-ui.git git clone https://gitee.com/dataprince/ruoyiflex-elementplus-ts.git
#### 进入项目目录 #### 进入项目目录
cd flex-elementplus-ui cd ruoyiflex-elementplus-ts
#### 安装依赖 #### 安装依赖
npm install --registry=https://registry.npmmirror.com npm install --registry=https://registry.npmmirror.com

View File

@ -27,7 +27,7 @@
"axios": "1.6.5", "axios": "1.6.5",
"crypto-js": "4.2.0", "crypto-js": "4.2.0",
"echarts": "5.4.3", "echarts": "5.4.3",
"element-plus": "2.4.4", "element-plus": "2.5.3",
"file-saver": "2.0.5", "file-saver": "2.0.5",
"fuse.js": "7.0.0", "fuse.js": "7.0.0",
"js-cookie": "3.0.5", "js-cookie": "3.0.5",
@ -85,6 +85,6 @@
"vitest": "1.2.0", "vitest": "1.2.0",
"vue-eslint-parser": "9.4.0", "vue-eslint-parser": "9.4.0",
"vue-tsc": "1.8.27", "vue-tsc": "1.8.27",
"vite": "5.0.11" "vite": "5.0.12"
} }
} }

View File

@ -15,6 +15,7 @@
:placeholder="$t('navbar.selectTenant')" :placeholder="$t('navbar.selectTenant')"
@change="dynamicTenantEvent" @change="dynamicTenantEvent"
@clear="dynamicClearEvent" @clear="dynamicClearEvent"
style="width: 240px"
> >
<el-option v-for="item in tenantList" :key="item.tenantId" :label="item.companyName" :value="item.tenantId"> </el-option> <el-option v-for="item in tenantList" :key="item.tenantId" :label="item.companyName" :value="item.tenantId"> </el-option>
<template #prefix><svg-icon icon-class="company" class="el-input__icon input-icon" /></template> <template #prefix><svg-icon icon-class="company" class="el-input__icon input-icon" /></template>

View File

@ -7,7 +7,7 @@
<el-input v-model="queryParams.productName" placeholder="请输入产品名称" clearable style="width: 240px" @keyup.enter="handleQuery" /> <el-input v-model="queryParams.productName" placeholder="请输入产品名称" clearable style="width: 240px" @keyup.enter="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="产品状态" prop="status"> <el-form-item label="产品状态" prop="status">
<el-select v-model="queryParams.status" placeholder="请选择产品状态" clearable> <el-select v-model="queryParams.status" placeholder="请选择产品状态" clearable style="width: 240px">
<el-option <el-option
v-for="dict in sys_student_status" v-for="dict in sys_student_status"
:key="dict.value" :key="dict.value"

View File

@ -7,7 +7,7 @@
<el-input v-model="queryParams.studentName" placeholder="请输入学生名称" clearable style="width: 240px" @keyup.enter="handleQuery" /> <el-input v-model="queryParams.studentName" placeholder="请输入学生名称" clearable style="width: 240px" @keyup.enter="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="studentStatus"> <el-form-item label="状态" prop="studentStatus">
<el-select v-model="queryParams.studentStatus" placeholder="请选择状态" clearable> <el-select v-model="queryParams.studentStatus" placeholder="请选择状态" clearable style="width: 240px">
<el-option <el-option
v-for="dict in sys_student_status" v-for="dict in sys_student_status"
:key="dict.value" :key="dict.value"

View File

@ -13,7 +13,7 @@
@keyup.enter="handleQuery" /> @keyup.enter="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="status"> <el-form-item label="状态" prop="status">
<el-select v-model="queryParams.status" placeholder="状态" clearable> <el-select v-model="queryParams.status" placeholder="状态" clearable style="width: 240px">
<el-option v-for="dict in sys_normal_disable" :key="dict.value" :label="dict.label" :value="dict.value" /> <el-option v-for="dict in sys_normal_disable" :key="dict.value" :label="dict.label" :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>

View File

@ -11,7 +11,7 @@
<el-input v-model="queryParams.configKey" placeholder="请输入参数键名" clearable style="width: 240px" @keyup.enter="handleQuery" /> <el-input v-model="queryParams.configKey" placeholder="请输入参数键名" clearable style="width: 240px" @keyup.enter="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="系统内置" prop="configType"> <el-form-item label="系统内置" prop="configType">
<el-select v-model="queryParams.configType" placeholder="系统内置" clearable> <el-select v-model="queryParams.configType" placeholder="系统内置" clearable style="width: 240px">
<el-option v-for="dict in sys_yes_no" :key="dict.value" :label="dict.label" :value="dict.value" /> <el-option v-for="dict in sys_yes_no" :key="dict.value" :label="dict.label" :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>

View File

@ -8,7 +8,7 @@
<el-input v-model="queryParams.deptName" placeholder="请输入部门名称" clearable style="width: 240px" @keyup.enter="handleQuery" /> <el-input v-model="queryParams.deptName" placeholder="请输入部门名称" clearable style="width: 240px" @keyup.enter="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="status"> <el-form-item label="状态" prop="status">
<el-select v-model="queryParams.status" placeholder="部门状态" clearable> <el-select v-model="queryParams.status" placeholder="部门状态" clearable style="width: 240px">
<el-option v-for="dict in sys_normal_disable" :key="dict.value" :label="dict.label" :value="dict.value" /> <el-option v-for="dict in sys_normal_disable" :key="dict.value" :label="dict.label" :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>

View File

@ -8,7 +8,7 @@
<el-input v-model="queryParams.menuName" placeholder="请输入菜单名称" clearable style="width: 240px" @keyup.enter="handleQuery" /> <el-input v-model="queryParams.menuName" placeholder="请输入菜单名称" clearable style="width: 240px" @keyup.enter="handleQuery" />
</el-form-item> </el-form-item>
<el-form-item label="状态" prop="status"> <el-form-item label="状态" prop="status">
<el-select v-model="queryParams.status" placeholder="菜单状态" clearable> <el-select v-model="queryParams.status" placeholder="菜单状态" clearable style="width: 240px">
<el-option v-for="dict in sys_normal_disable" :key="dict.value" :label="dict.label" :value="dict.value" /> <el-option v-for="dict in sys_normal_disable" :key="dict.value" :label="dict.label" :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>