'admin-22.07.16:修复行内表单最后一个el-form-item位置下移问题'

This commit is contained in:
lyt 2022-07-16 22:59:53 +08:00
commit e08b4b3782
3 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,6 @@ import { initBackEndControlRoutes } from '/@/router/backEnd';
const storesThemeConfig = useThemeConfig(pinia); const storesThemeConfig = useThemeConfig(pinia);
const { themeConfig } = storeToRefs(storesThemeConfig); const { themeConfig } = storeToRefs(storesThemeConfig);
const { isRequestRoutes } = themeConfig.value; const { isRequestRoutes } = themeConfig.value;
if (isRequestRoutes) staticRoutes.splice(0, 1);
/** /**
* Vue 使 * Vue 使

View File

@ -6,6 +6,8 @@
.el-form-item__label { .el-form-item__label {
width: 100% !important; width: 100% !important;
text-align: left !important; text-align: left !important;
// 移动端 label 右对齐问题
justify-content: flex-start !important;
} }
.el-form-item__content { .el-form-item__content {
margin-left: 0 !important; margin-left: 0 !important;

View File

@ -8,7 +8,7 @@ export function judementSameArr(newArr: unknown[] | string[], oldArr: string[]):
const news = removeDuplicate(newArr); const news = removeDuplicate(newArr);
const olds = removeDuplicate(oldArr); const olds = removeDuplicate(oldArr);
let count = 0; let count = 0;
const leng = olds.length; const leng = news.length;
for (let i in olds) { for (let i in olds) {
for (let j in news) { for (let j in news) {
if (olds[i] === news[j]) count++; if (olds[i] === news[j]) count++;