Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latex公式渲染报错,uniapp 网页端 vue2 #515

Closed
ssssshql opened this issue May 10, 2023 · 0 comments
Closed

latex公式渲染报错,uniapp 网页端 vue2 #515

ssssshql opened this issue May 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ssssshql
Copy link

ssssshql commented May 10, 2023

使用环境

uniapp vue2版本

问题描述

已经按照要求生成了带插件的组件,引入后使用latex公式报错,不使用则不报错
image

复现方式

<template>
  <view>
    <mp-html :content="html"/>
  </view>
</template>
<script>
  import mpHtml from '@/components/mp-html/mp-html'
  export default {
    // HBuilderX 2.5.5+ 可以通过 easycom 自动引入
    components: {
      mpHtml
    },
    data () {
      return {
        html: '$ \\sqrt{x}  $'
      }
    }
  }
</script>

image

@jin-yufeng jin-yufeng added the bug Something isn't working label May 13, 2023
sonofmagic added a commit to sonofmagic/mp-html that referenced this issue Jun 26, 2023
commit d67be37
Author: Jin Yufeng <1750665@tongji.edu.cn>
Date:   Sun May 14 21:00:47 2023 +0800

    release v2.4.2

commit 9acb1d3
Author: Jin Yufeng <1750665@tongji.edu.cn>
Date:   Sun May 14 20:06:00 2023 +0800

    修复了 editable 插件点击音视频时其他标签框不消失的问题

commit 09c8d42
Author: Jin Yufeng <1750665@tongji.edu.cn>
Date:   Sun May 14 19:39:26 2023 +0800

    editable 插件支持修改文字颜色 jin-yufeng#254

commit 0a18c02
Author: Jin Yufeng <1750665@tongji.edu.cn>
Date:   Sun May 14 11:47:55 2023 +0800

    修复了 uni-app 包使用旧版编译器可能报错的问题 jin-yufeng#472

commit 2d0821f
Author: Jin Yufeng <1750665@tongji.edu.cn>
Date:   Sat May 13 17:25:52 2023 +0800

    修复了 svg 中有 style 不生效的问题 jin-yufeng#505

commit 8e50ea7
Author: Jin Yufeng <1750665@tongji.edu.cn>
Date:   Sat May 13 16:20:05 2023 +0800

    修复了 uni-app 包 app 端可能出现无法读取 lazyLoad 的问题 jin-yufeng#513

commit 38402ca
Author: Jin Yufeng <1750665@tongji.edu.cn>
Date:   Sat May 13 15:32:39 2023 +0800

    修复了latex插件部分情况下不显示的问题 jin-yufeng#515

commit ca66d5e
Merge: c0b780b 380c674
Author: jin-yufeng <48236054+jin-yufeng@users.noreply.github.com>
Date:   Fri Mar 24 21:21:55 2023 +0800

    Merge pull request jin-yufeng#497 from TwoKe945/master

    fix: 修复editable插件在点击换图时,出现的domain前缀未添加的问题

commit 380c674
Author: TwoKe <twoke945@163.com>
Date:   Mon Mar 13 15:58:43 2023 +0800

    fix: 图片设置超链接以及预览图链接url转化

commit ebd1bba
Author: TwoKe <twoke945@163.com>
Date:   Sun Mar 12 23:01:07 2023 +0800

    fix: miniprogram平台node.js Parser引入路径错误

commit 4060075
Author: TwoKe <twoke945@163.com>
Date:   Sun Mar 12 22:57:23 2023 +0800

    chore: 更换getImgUrl为通用url解析函数Parser.getUrl

commit 467cc0f
Author: TwoKe <twoke945@163.com>
Date:   Sun Mar 12 21:09:38 2023 +0800

    fix: 修复editable插件在点击换图时,出现的domain前缀未添加的问题
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants