Skip to content

nuxt2使用函数式组件递归生成menu菜单项目build编译后渲染submenu菜单出错 #6525

@FlandreX4

Description

@FlandreX4
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.7.7

Environment

Nuxt框架版本 2.15.8,vue版本2.7.10,ant-design-vue:1.7.8

Reproduction link

https://github.com/FlandreX4/nuxt-demo

Steps to reproduce

下载存储库 -> 转到项目文件夹 -> 运行npm install -> 运行npm run build -> 运行npm run start,打开页面出现错误: _vm._s is not a function

What is expected?

修复_vm._s is not a function

What is actually happening?

nuxt项目不进行编译直接运行渲染正常,打包编译后运行项目渲染函数式menu组件会出现错误。
20230504151913

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions