zhishaofei
zhishaofei
````javascript Vue.prototype.$emit = function (event: string): Component { const vm: Component = this if (process.env.NODE_ENV !== 'production') { const lowerCaseEvent = event.toLowerCase() if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) { tip(...
HtmlWebpackPlugin产出的文件生成的是index.html index.html中引入的是main.[hash].js main.[hash].css 但是我的项目 想生成的是js文件 如sdk-load.js main.[hash].js main.[hash].css sdk-load.js是我自定义的脚本 脚本内部想包含main.[hash].js main.[hash].css的文件名 请问能否支持产出js文件?
````css .jump-btn { width: 32px; height: 32px; background: url('jump_btn.png') no-repeat 0 0; &.disabled { background-position: -32px 0; } &.back { background-position: -64px 0; } } ````
Uncaught (in promise) {offset: 0} Promise.then (async) | animate | @ | path.js:118 | animate | @ | shape.js:111
现在对js版本支持怎么样?来个js版本的?
增加示例代码
怎么删除数组里的数据?比如e f ````javascript connectedRef.set(['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i']) ````
语法错误,多一个花括号
document.addEventListener('mouseup', this.onElMouseUp.bind(this)) 这个侦听是无法移除的,因为bind返回的是新函数