解决页面插槽使用不规范问题
This commit is contained in:
parent
2a453c8f14
commit
72919c2ffa
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -449,7 +449,7 @@
|
|||
width="80"
|
||||
type="index"
|
||||
>
|
||||
<template scope="scope">
|
||||
<template slot-scope="scope">
|
||||
<span>{{
|
||||
(dialogQuery.pageNum - 1) * 10 + scope.$index + 1
|
||||
}}</span>
|
||||
|
|
|
|||
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue