uni-app 编写css样式时 有提示时输入数字会直接输出对应提示的内容

uni-app 编写css样式时 有提示时输入数字会直接输出对应提示的内容

开发环境 版本号 项目创建方式
HbuilderX 3.1.17

如附件所示,编写css时很繁琐

https:https://www.itying.com/uniimg.php?url=https://img-cdn-tc.dcloud.net.cn/uploads/questions/20210609/c2123e78228df88c1077de7b3ef5f3f8.png

https:https://www.itying.com/uniimg.php?url=https://img-cdn-tc.dcloud.net.cn/uploads/questions/20210609/e0809fe48bf8ef055601913416a994fa.png


操作步骤:

编写css,如mar按回车选择提示margin-top:;
此时会弹出其他提示,想直接输入数值如30rpx,但是结果是选择了提示3进行输出

预期结果:

margin-top: 30rpx;

实际结果:

margin-top: [@each](/user/each) var in list {};

更多关于uni-app 编写css样式时 有提示时输入数字会直接输出对应提示的内容的实战教程也可以访问 https://www.itying.com/category-93-b0.html

1 回复

更多关于uni-app 编写css样式时 有提示时输入数字会直接输出对应提示的内容的实战教程也可以访问 https://www.itying.com/category-93-b0.html


代码助手,数字模式输入,sass确实存在问题,下期优化。
暂时可切换代码助手选择模式为alt+数字

回到顶部