Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit67a1d6a

Browse files
committed
feat: update to vue v2.5.13
1 parente8cc889 commit67a1d6a

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"he":"^1.1.1",
4646
"lint-staged":"^4.3.0",
4747
"util-inspect":"^0.1.8",
48-
"vue":"^2.5.8"
48+
"vue":"^2.5.13"
4949
},
5050
"peerDependencies": {
5151
"tns-core-modules":"^3.0.0"

‎platform/nativescript/compiler/modules/scopedSlots.js

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import{addRawAttr}from'compiler/helpers'
2+
3+
functionpreTransformNode(el){
4+
if(el.tag==='v-template'){
5+
// set +alias property on the v-template component
6+
letalias=el.parent.attrsMap['+alias']||'item'
7+
addRawAttr(el,'+alias',alias)
8+
}
9+
10+
if(el.parent&&el.parent.tag==='v-template'){
11+
// set the slot scope to the list-view +alias attribute
12+
el.slotScope=el.parent.parent.attrsMap['+alias']||'item'
13+
}
14+
}
15+
16+
exportdefault{
17+
preTransformNode
18+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp