提交 fa5495c6 作者: 毛细亚

修改代码

上级 4813cf77
...@@ -243,3 +243,11 @@ export function clearTaskUnReadData(data) { ...@@ -243,3 +243,11 @@ export function clearTaskUnReadData(data) {
data data
}) })
} }
// 删除共享信息
export function shareInfoDel(data) {
return request({
url: returnApi('/external_user/shareInfoDel'),
method: 'post',
data
})
}
...@@ -401,7 +401,10 @@ export default { ...@@ -401,7 +401,10 @@ export default {
} }
}, },
formatImg(html) { formatImg(html) {
if (html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"') 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) {
if (html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"') 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) {
if (html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"') 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) {
if (html) {
return html.replaceAll(/<img/g, '<img style="max-width:100px;"') return html.replaceAll(/<img/g, '<img style="max-width:100px;"')
}
return html
}, },
switchStateText(status) { switchStateText(status) {
switch (status) { switch (status) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论