docs: update

This commit is contained in:
qingwei.li 2017-02-18 19:36:28 +08:00 committed by cinwell.li
commit fd9c3bd19d
6 changed files with 10 additions and 10 deletions

View file

@ -28,9 +28,9 @@ function renderMain (html) {
// execute script
this.config.executeScript && executeScript()
if (!this.config.executeScript
&& typeof window.Vue !== 'undefined'
&& !executeScript()) {
if (!this.config.executeScript &&
typeof window.Vue !== 'undefined' &&
!executeScript()) {
window.__EXECUTE_RESULT__ = new window.Vue().$mount('#main')
}