File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " vue-corator" ,
3- "version" : " 1.6.5 " ,
3+ "version" : " 1.6.6 " ,
44 "description" : " this is TypeScript Vue decorator." ,
55 "main" : " lib/vue-corator.d.ts" ,
66 "module" : " lib/vue-corator.js" ,
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ export function Render(componentName?: string) {
5757 const props = parameta . split ( ',' ) ;
5858 const newComponent = {
5959 props,
60+ functional : true ,
6061 render ( createElement : any ) {
6162 return compiledTemplate . render . call ( this , createElement ) ;
6263 }
@@ -66,8 +67,8 @@ export function Render(componentName?: string) {
6667 options . components [ componentName || key ] = newComponent ;
6768 } ) ( target , key ) ;
6869 } ;
69- }
70-
70+ }
71+
7172export function ScopedId ( key ?: string ) {
7273 return createDecorator ( ( options , k ) => {
7374 options . computed = options . computed || { } ;
You can’t perform that action at this time.
0 commit comments