search

Home  >  Q&A  >  body text

javascript - Adding margin to an element in vue2.0 reports an unexpected "indentation" error?

An error is reported after adding margin, why? How to solve it?

黄舟黄舟2748 days ago708

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-19 10:38:48

    With all due respect, I can’t see the error message clearly

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-19 10:38:48

    The picture is so small, I don’t even know what the title is.

    reply
    0
  • 高洛峰

    高洛峰2017-05-19 10:38:48

    I’m not familiar with stylus, but I see that the syntax is similar to python, both relying on indentation
    In addition, the error reported is unexpected indent
    It should be that spaces and tabs are mixed together
    It is estimated that the previous code used spaces, and the newly added margin You must use tab indentation

    reply
    0
  • Cancelreply