How to trigger a vue method only once, not every time

后端 未结 3 1566
情深已故
情深已故 2021-01-11 10:28

I\'m handling a rotate even on change:

3条回答
  •  我在风中等你
    2021-01-11 10:39

    one simple solution would be to add a marker somewhat like this:

    
    

    of course you would need to initiate this.rotated as false

提交回复
热议问题