解决页面插槽使用不规范问题

This commit is contained in:
BianLzhaoMin 2024-05-30 10:39:59 +08:00
parent 2a453c8f14
commit 72919c2ffa
4 changed files with 379 additions and 382 deletions

View File

@ -41,8 +41,8 @@ const user = {
// 登录
Login({ commit }, userInfo) {
const username = userInfo.username.trim()
// const password = encrypt(userInfo.password)
const password = userInfo.password
const password = encrypt(userInfo.password)
// const password = userInfo.password
const code = userInfo.code
const uuid = userInfo.uuid
return new Promise((resolve, reject) => {

View File

@ -88,7 +88,7 @@
width="80"
type="index"
>
<template scope="scope">
<template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
@ -317,7 +317,7 @@
width="80"
type="index"
>
<template scope="scope">
<template slot-scope="scope">
<span>{{
(codeQuery.pageNum - 1) * 10 + scope.$index + 1
}}</span>

View File

@ -449,7 +449,7 @@
width="80"
type="index"
>
<template scope="scope">
<template slot-scope="scope">
<span>{{
(dialogQuery.pageNum - 1) * 10 + scope.$index + 1
}}</span>

View File

@ -344,7 +344,7 @@
width="80"
type="index"
>
<template scope="scope">
<template slot-scope="scope">
<span>{{
(queryParams.pageNum - 1) * 10 + scope.$index + 1
}}</span>
@ -783,10 +783,7 @@
this.equipmentTypeList.forEach((item, index) => {
if (item.children && item.children.length > 0) {
item.children.forEach((item2, index2) => {
if (
item2.children &&
item2.children.length > 0
) {
if (item2.children && item2.children.length > 0) {
item2.children.forEach((item3) => {
if (
item3.children &&