upgrade vue-sfc-compiler

This commit is contained in:
陈嘉涵 2017-08-17 14:17:32 +08:00
parent 2ba123ed93
commit 40ca68feaa
3 changed files with 6 additions and 6 deletions

View File

@ -106,7 +106,7 @@
"vue-loader": "^13.0.4",
"vue-markdown-loader": "^2.0.0",
"vue-router": "^2.7.0",
"vue-sfc-compiler": "^0.0.1",
"vue-sfc-compiler": "^0.0.2",
"vue-style-loader": "^3.0.0",
"vue-template-compiler": "^2.4.2",
"webpack": "^3.5.4",

View File

@ -10,7 +10,7 @@
v-for="(item, index) in actions"
:key="index"
:class="['van-actionsheet__item', item.className, { 'van-actionsheet__item--loading': item.loading }]"
@click.stop="handleItemClick(item)">
@click.stop="onClickItem(item)">
<template v-if="!item.loading">
<span class="van-actionsheet__name">{{ item.name }}</span>
<span class="van-actionsheet__subname" v-if="item.subname">{{ item.subname }}</span>
@ -64,7 +64,7 @@ export default {
},
methods: {
handleItemClick(item) {
onClickItem(item) {
if (typeof item.callback === 'function') {
item.callback(item);
}

View File

@ -7272,9 +7272,9 @@ vue-router@^2.7.0:
version "2.7.0"
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-2.7.0.tgz#16d424493aa51c3c8cce8b7c7210ea4c3a89aff1"
vue-sfc-compiler@^0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/vue-sfc-compiler/-/vue-sfc-compiler-0.0.1.tgz#389221eb198efaa8d7ad6a7e8c3f57d10ea952ed"
vue-sfc-compiler@^0.0.2:
version "0.0.2"
resolved "https://registry.yarnpkg.com/vue-sfc-compiler/-/vue-sfc-compiler-0.0.2.tgz#f6b4c16f4449459cce83a9852266b753565e7b7c"
dependencies:
vue-template-compiler "^2.4.2"
vue-template-es2015-compiler "^1.5.3"