收藏
回答

vant weapp引入错误?

{
  "navigationBarTitleText""我的订单",
  "enablePullDownRefresh":true,
  "usingComponents": {
    "order-item":"../../../component/order-item",
    "no-data":"../../../component/empty",
    "van-dropdown-menu""/miniprogram_npm/vant-weapp/dropdown-menu/index",
    "van-dropdown-item""/miniprogram_npm/vant-weapp/dropdown-item/index"
  }
}

回答关注问题邀请回答
收藏

1 个回答

  • destiny
    destiny
    2022-02-25

    "van-dropdown-menu": "@vant/weapp/dropdown-menu/index",

    "van-dropdown-item": "@vant/weapp/dropdown-item/index"

    2022-02-25
    有用 1
    回复 3
    • swy
      swy
      2022-02-25
      感谢  已经引入成功
      2022-02-25
      回复
    • 冰玉虫蝴蝶(贵)
      冰玉虫蝴蝶(贵)
      2022-04-05
      老兄,为啥报错泥
      2022-04-05
      回复
    • 冰玉虫蝴蝶(贵)
      冰玉虫蝴蝶(贵)
      2022-04-05
      我的也报错了。怎么处理
      2022-04-05
      回复
登录 后发表内容