每个单击事件都会触发大约4到8个警告,这取决于您尝试的程度。它加起来有一百多个,非常容易。警告显示为event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.警告是由于在我的视图(这是在asp.net mvc3视图中)中包含此内容而产生的。
<script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")"
我正在用vue2创建一个网站,但我不能使用node.js来安装库。现在我想使用像vuetify这样的库,但是我不知道如何将它导入到js文件中。有解决办法吗?js文件的格式是:
const app = new Vue({
el: '#app',
})
当我在const应用程序上导入它时,会出现一个错误,即不能在模块之外导入它。
更新: ScreenShot of my code