fix: 考官登录界面
This commit is contained in:
parent
ea78c6b897
commit
17ff766397
@ -82,7 +82,7 @@ struct Index {
|
|||||||
}) {
|
}) {
|
||||||
ForEach(this.imgArr1, (item: Resource, index: number) => {
|
ForEach(this.imgArr1, (item: Resource, index: number) => {
|
||||||
if (index === this.imgArr1.length - 1) {
|
if (index === this.imgArr1.length - 1) {
|
||||||
imageBtn({ btnWidth: '38%', imgSrc: item })
|
imageBtn({ btnWidth: '38%', btnHeight: '24%', imgSrc: item })
|
||||||
.onClick(() => {
|
.onClick(() => {
|
||||||
if (this.inputTextArr[0].trim() == '' || this.inputTextArr[1].trim() == '') {
|
if (this.inputTextArr[0].trim() == '' || this.inputTextArr[1].trim() == '') {
|
||||||
promptAction.showToast({
|
promptAction.showToast({
|
||||||
|
|||||||
@ -137,6 +137,7 @@ export async function InitializeTheCentralTable(params: InitializeTheCentralTabl
|
|||||||
}
|
}
|
||||||
if (res && res.body) {
|
if (res && res.body) {
|
||||||
for (const key of Object.keys(res.body)) {
|
for (const key of Object.keys(res.body)) {
|
||||||
|
// 后端传递的字段首字母小写了,需要转换下
|
||||||
let newKey = key.charAt(0).toUpperCase() + key.slice(1)
|
let newKey = key.charAt(0).toUpperCase() + key.slice(1)
|
||||||
let isExit = CenterMap.has(newKey)
|
let isExit = CenterMap.has(newKey)
|
||||||
console.log("-------------------表名-----------------------", newKey, isExit)
|
console.log("-------------------表名-----------------------", newKey, isExit)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user