Commit 1f4f1017 authored by 英思-陈欢's avatar 英思-陈欢

fix bug: 数据格式修改

parent 2873f1ef
<template>
<view class="container">
<view class="content" v-if="detail">
<view class="content" v-for="(detail, index) in list" :key="index">
<view class="list">
<view class="name list-item u-flex u-flex-between u-flex-items-center">
<text>基本信息</text>
......@@ -170,7 +170,7 @@
return {
getKeyValue,
form: {} as any,
detail: null as any,
list: [] as any,
}
},
onLoad(options: any) {
......@@ -181,8 +181,8 @@
methods: {
getDetail() {
Api.foo.transferInformation(this.form).then((res) => {
if (res) {
this.detail = res;
if (res && res.length) {
this.list = res;
} else {
xma.showModal({
title: '暂无数据',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment