Commit c4bad668 authored by 何毅恒's avatar 何毅恒

c

parent 76bb6a64
...@@ -38,10 +38,10 @@ const getInformationDetail = async (id) => { ...@@ -38,10 +38,10 @@ const getInformationDetail = async (id) => {
let res = await post("Information/informationDetail", { id }); let res = await post("Information/informationDetail", { id });
if (res.code == 0) { if (res.code == 0) {
informationDetail.value = res.data; informationDetail.value = res.data;
informationDetail.value.content = informationDetail.value.content.replace( // informationDetail.value.content = informationDetail.value.content.replace(
/\<img/gi, // /\<img/gi,
'<img style="width:100%"' // '<img style="width:100%"'
); // );
} }
}; };
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment