Commit fb5f458f by 李伟康

commit 修复

1 parent 4e3f6fd6
...@@ -53,7 +53,7 @@ const getMockData = async (immediate = false) => { ...@@ -53,7 +53,7 @@ const getMockData = async (immediate = false) => {
} }
} }
/** /**
*获取后台轻改素材配置 *权益配置
*/ */
const findReceptionpriproConfigList = data => { const findReceptionpriproConfigList = data => {
return http.post({ return http.post({
...@@ -207,7 +207,7 @@ const imgTransformBase64 = async (imgList = [], keyList = []) => { ...@@ -207,7 +207,7 @@ const imgTransformBase64 = async (imgList = [], keyList = []) => {
}) })
) )
} else { } else {
if (typeof e[key] === 'string') { if (typeof e[key] === 'string' && e[key]) {
// e[`original_${key}`] = JSON.parse(JSON.stringify(e[key])) // e[`original_${key}`] = JSON.parse(JSON.stringify(e[key]))
e[key] = await getBase64(e[key]) e[key] = await getBase64(e[key])
} }
...@@ -215,7 +215,7 @@ const imgTransformBase64 = async (imgList = [], keyList = []) => { ...@@ -215,7 +215,7 @@ const imgTransformBase64 = async (imgList = [], keyList = []) => {
await Promise.all( await Promise.all(
Object.keys(e[key]).map(async k => { Object.keys(e[key]).map(async k => {
// e[key][`original_${k}`] = JSON.parse(JSON.stringify(e[key][k])) // e[key][`original_${k}`] = JSON.parse(JSON.stringify(e[key][k]))
e[key][k] = await getBase64(e[key][k]) if (e[key][k]) e[key][k] = await getBase64(e[key][k])
}) })
) )
} }
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</view> </view>
</view> </view>
<template v-if="list.length > 0"> <template v-if="list.length > 0">
<scroll-view :class="['record-box', { 'has-tabs': views && views.length > 1 }]" scroll-y :scroll-top="scrollTop" @scrolltolower="pageonReachBottom"> <scroll-view :class="['record-box']" scroll-y :scroll-top="scrollTop" @scrolltolower="pageonReachBottom">
<!-- <template v-for="(i,index) in formatList"> <!-- <template v-for="(i,index) in formatList">
<view <view
:key="index" :key="index"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!