Skip to content

vue+taro使用4.x版本nut-toast在微信小程序内容不展示 #3210

Open
@dai-dcx

Description

NutUI 包名

@nutui/nutui-taro

NutUI 版本号

4.3.13

平台

weapp

重现链接

http://xingyun.jd.com/codingRoot/jda-tamp/demo-toast-taro/

重现步骤

按钮 <script setup> import { ref } from 'vue' const show = ref(false) const onClick = () => { show.value = true } </script>

初始化项目默认的index页面,打开即可复现toast内容不展示问题

期望的结果是什么?

toast内容可以正常展示

实际的结果是什么?

toast里msg内容不展示,title内容可以展示

环境信息

👽 Taro v4.0.6

Taro CLI 4.0.6 environment info:
System:
OS: macOS 15.0
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.20.4 - ~/.nvm/versions/node/v18.20.4/bin/node
npm: 10.7.0 - ~/.nvm/versions/node/v18.20.4/bin/npm
npmPackages:
@tarojs/cli: 4.0.4 => 4.0.4
@tarojs/components: 4.0.4 => 4.0.4
@tarojs/helper: 4.0.4 => 4.0.4
@tarojs/plugin-framework-vue3: 4.0.4 => 4.0.4
@tarojs/plugin-html: 4.0.4 => 4.0.4
@tarojs/plugin-platform-alipay: 4.0.4 => 4.0.4
@tarojs/plugin-platform-h5: 4.0.4 => 4.0.4
@tarojs/plugin-platform-jd: 4.0.4 => 4.0.4
@tarojs/plugin-platform-qq: 4.0.4 => 4.0.4
@tarojs/plugin-platform-swan: 4.0.4 => 4.0.4
@tarojs/plugin-platform-tt: 4.0.4 => 4.0.4
@tarojs/plugin-platform-weapp: 4.0.4 => 4.0.4
@tarojs/runtime: 4.0.4 => 4.0.4
@tarojs/shared: 4.0.4 => 4.0.4
@tarojs/taro: 4.0.4 => 4.0.4
@tarojs/taro-loader: 4.0.4 => 4.0.4
@tarojs/webpack5-runner: 4.0.4 => 4.0.4
babel-preset-taro: 4.0.4 => 4.0.4
eslint-config-taro: 4.0.4 => 4.0.4

其他补充信息

"vue": "^3.3.0"
"pnpm: "9.10.0"
"node": "18.20.4"

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions