提交 31feca7e 作者: 毛细亚

更新代码

上级 4b357d98
...@@ -251,3 +251,11 @@ export function memberBindExternalUser(data) { ...@@ -251,3 +251,11 @@ export function memberBindExternalUser(data) {
data data
}) })
} }
// 删除共享信息
export function shareInfoDel(data) {
return request({
url: returnApi('/external_user/shareInfoDel'),
method: 'post',
data
})
}
\ No newline at end of file
...@@ -401,7 +401,10 @@ export default { ...@@ -401,7 +401,10 @@ export default {
} }
}, },
formatImg(html) { formatImg(html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"') if (html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"')
}
return html
}, },
switchStateText(status) { switchStateText(status) {
switch (status) { switch (status) {
......
...@@ -332,7 +332,10 @@ export default { ...@@ -332,7 +332,10 @@ export default {
} }
}, },
formatImg(html) { formatImg(html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"') if (html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"')
}
return html
}, },
switchStateText(status) { switchStateText(status) {
switch (status) { switch (status) {
......
...@@ -417,7 +417,10 @@ ...@@ -417,7 +417,10 @@
} }
}, },
formatImg(html) { formatImg(html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"') if (html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"')
}
return html
}, },
switchStateText(status) { switchStateText(status) {
switch (status) { switch (status) {
......
...@@ -422,7 +422,10 @@ ...@@ -422,7 +422,10 @@
} }
}, },
formatImg(html) { formatImg(html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"') if (html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"')
}
return html
}, },
switchStateText(status) { switchStateText(status) {
switch (status) { switch (status) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论