'admin-22.07.16:修复行内表单最后一个el-form-item位置下移问题'
This commit is contained in:
commit
e08b4b3782
@ -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 应用程序使用的路由实例
|
||||||
|
@ -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;
|
||||||
|
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user