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

wepy-cli升级1.7.0以后,不会往标签添加hash class导致样式无法应用到标签 #963

Closed
IveChen opened this Issue Feb 22, 2018 · 8 comments

Comments

Projects
None yet
4 participants
@IveChen

IveChen commented Feb 22, 2018

以下是1.6.0的编译,显示image标签上有一个class
image
以下是1.7.0的编译,显示image的标签上的class被去掉了
image

但是在生成的wxss文件中,image标签是带有class的。
image

想知道这个变动是正常变动还是bug??

@Gcaufy

This comment has been minimized.

Collaborator

Gcaufy commented Feb 23, 2018

acc643e

这是1.7的一个bug, 对于无class属性的节点不会添加hash

所以暂时你可以参考上面的改动去修改wepy-cli的代码,或者给节点加一个class属性

@IveChen

This comment has been minimized.

IveChen commented Feb 23, 2018

@Gcaufy 可有修复计划??如果有修复计划我就先暂时用着1.6.0先,不然要修改的地方有点多。。。

@Gcaufy

This comment has been minimized.

Collaborator

Gcaufy commented Feb 23, 2018

暂不会因为这个问题发个正式版本,但过几天我可以先弄个alpha版本。

@AdamWei

This comment has been minimized.

AdamWei commented Feb 27, 2018

一个组件里边有很多的无class属性的节点,都需要挨个加class吗?这岂不是很坑

@xing00

This comment has been minimized.

xing00 commented Mar 1, 2018

我遇到同样的问题,我把wepy-cli降到1.6了

@Gcaufy

This comment has been minimized.

Collaborator

Gcaufy commented Mar 2, 2018

@xing00
可以升级到1.7.1

@xing00

This comment has been minimized.

xing00 commented Mar 2, 2018

@Gcaufy 好的,谢谢

@stale

This comment has been minimized.

stale bot commented Jun 12, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
因为这个 Issue 最近没有任何有效回复,所以被自动标记为了stale。 如果在未来7天依旧没有任何激活操作,那么该 Issue 将会被自动关闭。 感谢您的提问。

@stale stale bot added the Inactive label Jun 12, 2018

@stale stale bot closed this Jun 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment