xunxian

文章
0
评论
2
推荐
0
收藏
0
社区会龄
3 年
个人网站
--
个人简介
还没有输入个人简介……

评论了

  • 2019-09-11 21:48

    关于第五章 serve服务器端按照教程运行报错的解决办法: 1、管理员权限打开命令行窗口,运行npm install --global --production windows-build-tools,安装Python环境; 2、node -v 检查node版本,最新的版本都会报错,不兼容bcrypt; 3、如果node版本是最新的,先卸载,下载8.x.x(下载地址:https://nodejs.org/en/blog/release/v8.9.1/)安装好,接下来就可以愉快的跟着教程走了;

  • 2019-08-30 21:16

    遇到这个问题解决办法,hand组件中的class=“hand”去掉,一切都通了,折腾了两晚上,也不知道这样式怎么造成堵塞的。

  • 2019-08-30 20:09

    组件里面的事件都不起作用什么情况? Vue.component('card', { props: ['def'], data() { return { counter: 0 } }, template: ` <div class="card" :class="'type-' + def.type" @click="play"> <div class="title">{{def.title}}</div> <img class="separator" src="svg/card-separator.svg" /> <div class="description"> <div v-html="def.description"></div> </div> <div class="note" v-if="def.note"> <div v-html="def.note"></div> </div> <button @click="add">增加</button> <p>{{counter}}</p> </div>`, methods: { play() { console.log('hhhh') this.$emit('play') }, add() { this.counter++ } } })