增加版本管理页面,修改店铺添加地图组件使用
This commit is contained in:
@@ -163,7 +163,9 @@
|
||||
:preview-src-list="scope.row[col.prop]"
|
||||
:initial-index="index"
|
||||
:preview-teleported="true"
|
||||
:style="`width: ${col.imageWidth ?? 40}px; height: ${col.imageHeight ?? 40}px`"
|
||||
:style="`width: ${col.imageWidth ?? 40}px; height: ${
|
||||
col.imageHeight ?? 40
|
||||
}px`"
|
||||
/>
|
||||
</template>
|
||||
</template>
|
||||
@@ -923,8 +925,10 @@ function fetchPageData(formData: IObject = {}, isRestart = false) {
|
||||
if (props.contentConfig.parseData) {
|
||||
data = props.contentConfig.parseData(data);
|
||||
}
|
||||
pagination.total = data.total;
|
||||
pageData.value = data.list;
|
||||
pagination.total = !props.contentConfig.resultListKey ? data.length : data.totalRow * 1;
|
||||
pageData.value = props.contentConfig.resultListKey
|
||||
? data[props.contentConfig.resultListKey]
|
||||
: data;
|
||||
} else {
|
||||
pageData.value = data;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user