title: Can't restoring data from localstorage do not working
body: <p>So that I can't post code to jsfeedle, it's issue with my provider or jsfeedle - it do not allow me to save code. So I post code here:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"&gt;&lt;/script&gt;
      &lt;title&gt;test&lt;/title&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div id="app"&gt;
       &lt;input v-model="message" @keyup.enter.native="pressed"&gt;
      &lt;/div&gt;
  
  &lt;/body&gt;
  
      &lt;script&gt;
          new Vue({
            el: '#app',
            data: {
              message: ''
            },
  
              created()
                {
                  document.onkeydown=function(e)
                    {
                      var key=window.event.keyCode;
                      if(key==113){
                        console.log('F2 pressed save')
                        localStorage.message = this.message;
                        console.log("recovered value: ", this.message)
                      }
  
                      if(key==115){
                        console.log('F4 restore')
                        // this.message = localStorage.message;
                        this.message = "444";
  
                      }
  
                    }
  
              }
  
              })
  
      &lt;/script&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p>The problem that I can't recover saved to localstorage data back by pressing key (F4 in my case).</p>
  
  <p>upd: live example here <a href="https://jsbin.com/wiqezuheji/edit?html,js,output" rel="nofollow noreferrer">https://jsbin.com/wiqezuheji/edit?html,js,output</a></p>