优化商户修改页面报错信息

This commit is contained in:
曾成 2020-04-27 09:46:14 +08:00
parent 2282e3a93a
commit 2331794aa2
2 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,7 @@
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<tbody>
<tr v-for="(storeAttr, key) in listStoreManageInfo.listStores[0].storeAttrDtoList">
<tr v-for="(storeAttr, key) in listStoreManageInfo.storeAttrDtoList">
<td class="text-center">{{storeAttr.name}}</td>
<td class="text-center">{{storeAttr.value}}</td>
<td class="text-right">

View File

@ -5,6 +5,7 @@
data: {
listStoreManageInfo: {
listStores: [],
storeAttrDtoList:[],
total: 0,
records: 1,
conditions: {
@ -38,6 +39,7 @@
function (json, res) {
var _listStoreManageInfo = JSON.parse(json);
vc.component.listStoreManageInfo.listStores = _listStoreManageInfo.stores;
vc.component.listStoreManageInfo.storeAttrDtoList = vc.component.listStoreManageInfo.listStores[0].storeAttrDtoList;
vc.emit('pagination', 'init', {
total: vc.component.listStoreManageInfo.records,
currentPage: _page