arco-design / arco-design-vue

A Vue.js 3 UI Library based on Arco Design
https://arco.design/vue
MIT License
2.75k stars 539 forks source link

Nuxt3 DatePicker 无法正常使用 #2275

Open lonquan opened 1 year ago

lonquan commented 1 year ago

Basic Info

Extra info

Uncaught (in promise) TypeError: headerValue.value.format is not a function Uncaught (in promise) TypeError: current.isSame is not a function

Steps to reproduce

Nuxt3 中使用 Arco for Vue datePicker 组件

lonquan commented 1 year ago

已有多个用户报相关问题

  1. https://github.com/arco-design/arco-design-vue/issues/1565
  2. https://github.com/arco-design/arco-design-vue/issues/1720

也有用户提了 fix PR https://github.com/arco-design/arco-design-vue/pull/2167

😢 希望官方能提高该 bug 的优先级....

baiwusanyu-c commented 1 year ago

已有多个用户报相关问题

  1. 在NUXT中 date-picker组件无法正常运行 #1565
  2. Nuxt3中组件DatePicker无法使用 #1720

也有用户提了 fix PR #2167

😢 希望官方能提高该 bug 的优先级....

2167 不是只改了一個名字嗎?能解決這個nuxt的問題?

Soya-xy commented 1 year ago

等合并后可以查看下。 useState 被nuxt使用了 ,等待合并吧。@flsion 希望提升一下 合并的优先级

lukeyMing commented 1 year ago

希望官方能提高该 bug 的优先级....

lukeyMing commented 1 year ago

@flsion

ItsRyanWu commented 1 year ago

关注

ItsRyanWu commented 1 year ago

相关问题已反馈给 Nuxt 社区待解决命名冲突 https://github.com/nuxt/nuxt/issues/20954 https://github.com/nuxt/nuxt/pull/20955

ItsRyanWu commented 1 year ago

@flsion Issue 可关闭,升级至 Nuxt v3.5.3 可解决。

lonquan commented 1 year ago

现在变成 time.add is not a function 这个错误了 - -

 add(time, value, unit) {
    return time.add(value, unit);
  },

@arco-design/web-vue@2.47.1 nuxt@3.6.0

hopegame commented 1 year ago

"nuxt": "^3.6.5", "@arco-design/web-vue": "^2.49.3", 还是报这个错误: Uncaught (in promise) TypeError: headerValue.value.format is not a function

wiidede commented 1 year ago

useState还是被transform了啊🥹

image

Soya-xy commented 1 year ago

wait nuxt 3.7 https://github.com/nuxt/nuxt/pull/22679

Soya-xy commented 1 year ago

upgrade nuxt v3.7 resloved