项目问题解决

Posted -constructor

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了项目问题解决相关的知识,希望对你有一定的参考价值。

1.stylus 在webstorm中出现红色波浪线

但是不影响浏览器效果,也不报错

<style lang="stylus" scoped >
  article
    display flex
    background  lightblue
    height 0.64rem//此处数字处
    .left
      float left
    .center
      flex 1//此处数字处
      background white
    .right
      float right
</style>

1.

style默认的css
类似于script默认的 javascript一样
<script type="text/javascript"></script>
<script></script>

解决;我们要修改默认语言

<style lang="stylus" scoped type="text/stylus"> //加一行即可
  article
    display flex
    background  lightblue
    height 0.64rem
    .left
      float left
    .center
      flex 1
      background white
    .right
      float right
</style>

 

总结

以上是关于项目问题解决的主要内容,如果未能解决你的问题,请参考以下文章

CTS测试CtsWindowManagerDeviceTestCases模块的testShowWhenLockedImeActivityAndShowSoftInput测试fail项解决方法(代码片段

Eclipse 中的通用代码片段或模板

微信小程序代码片段

如何在 Recyclerview Item Click 上打开新片段?

项目启动报错Failed to configure a DataSource: 'url' attribute is not specified and no embedde(代码片段

片段在较低版本的android中无法正常工作