{"action":"opened","issue":{"url":"https://api.github.com/repos/vuejs/vue/issues/2060","labels_url":"https://api.github.com/repos/vuejs/vue/issues/2060/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue/issues/2060/comments","events_url":"https://api.github.com/repos/vuejs/vue/issues/2060/events","html_url":"https://github.com/vuejs/vue/issues/2060","id":123206739,"number":2060,"title":"定义一个先于 v-if 执行的指令","user":{"login":"qiu8310","id":1094697,"avatar_url":"https://avatars.githubusercontent.com/u/1094697?v=3","gravatar_id":"","url":"https://api.github.com/users/qiu8310","html_url":"https://github.com/qiu8310","followers_url":"https://api.github.com/users/qiu8310/followers","following_url":"https://api.github.com/users/qiu8310/following{/other_user}","gists_url":"https://api.github.com/users/qiu8310/gists{/gist_id}","starred_url":"https://api.github.com/users/qiu8310/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiu8310/subscriptions","organizations_url":"https://api.github.com/users/qiu8310/orgs","repos_url":"https://api.github.com/users/qiu8310/repos","events_url":"https://api.github.com/users/qiu8310/events{/privacy}","received_events_url":"https://api.github.com/users/qiu8310/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-21T03:55:44Z","updated_at":"2015-12-21T03:55:44Z","closed_at":null,"body":"我定义了一个指令，将它的优先级指定成了 4000 (v-if 的优先级是 2000），希望在同一个 div 上，这个指令可以先于 v-if 执行，但结果总是 v-if 先执行，当 v-if 的条件为 false 时，我自定义的指令也就无法执行了。\r\n\r\n一个简单的 DEMO: http://codepen.io/qiu8310/pen/rxLxBP?editors=101"}}