鍍金池/ 問答/Linux  HTML/ 導(dǎo)入外部的方法到methods this報錯

導(dǎo)入外部的方法到methods this報錯

clipboard.png

clipboard.png
不知道為什么報錯

回答
編輯回答
安若晴

nextRouter(_that,'/Son','node')

2017年3月8日 17:04
編輯回答
大濕胸

html代碼里面把this去掉試試

2018年5月2日 22:10
編輯回答
逗婦惱

_that本身就在data里,直接用_that就行,如果用了this你就考量一下指向的是什么

2018年5月29日 05:13