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

[组件名称] 滑动模块无法使用 #3289

Open
hanweidong opened this issue Nov 15, 2024 · 5 comments
Open

[组件名称] 滑动模块无法使用 #3289

hanweidong opened this issue Nov 15, 2024 · 5 comments

Comments

@hanweidong
Copy link

tdesign-miniprogram 版本

1.7.1

重现链接

No response

重现步骤

index.wxml:



index.js:
Component({
data: {
right: [
{
text: '删除',
className: 'btn delete-btn',
},
],
left: [
{
text: '选择',
className: 'btn favor-btn',
},
],
},

methods: {
onActionClick({ detail }) {
wx.showToast({ title: 你点击了${detail.text}, icon: 'none' });
},
},
});

提示异常:
TypeError: Cannot read property 'nv_getState' of undefined

期望结果

No response

实际结果

No response

基础库版本

No response

补充说明

No response

Copy link
Contributor

👋 @hanweidong,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao
Copy link
Collaborator

anlyyao commented Nov 15, 2024

@hanweidong issue请按照规范填写完整。 swipe-cell 组件未适配 glass-easel,相关配置请先移除。

Duplicate of #3274

@hanweidong
Copy link
Author

那如果其他页面需要skyline的话,是把配置放到每个页面的index.json里么

@anlyyao
Copy link
Collaborator

anlyyao commented Nov 15, 2024

那如果其他页面需要skyline的话,是把配置放到每个页面的index.json里么

是的

@hanweidong
Copy link
Author

好的,问题已修复,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants