upgrade vue-sfc-compiler

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

View File

@ -106,7 +106,7 @@
"vue-loader": "^13.0.4", "vue-loader": "^13.0.4",
"vue-markdown-loader": "^2.0.0", "vue-markdown-loader": "^2.0.0",
"vue-router": "^2.7.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-style-loader": "^3.0.0",
"vue-template-compiler": "^2.4.2", "vue-template-compiler": "^2.4.2",
"webpack": "^3.5.4", "webpack": "^3.5.4",

View File

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

View File

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