js文件内,n开头的前缀。目前支持如下code snippet
var component = new NEKUI.Component({
template:template,
data: {
}
});
var modal = new NEKUI.KLModal({
data: {
title: '',
contentTemplate: ''
}
});
NEKUI.KLNotify.warning('');
new NEKUI.KLImagePreview({
data: {
imageList: [{
name: '',
src: ''
}],
curIndex: 0
}
})
menus: [
{
title: '首页',
key: 'home'
},
{
title: '',
open: true,
key: '',
children: [
{
open: true,
title: '',
url: '/'
}
]
}
];
current: 1,
pageSize: 10,
sumTotal: 100,
current: 0,
steps: [{
status: 0,
title: '',
description: ''
}]