| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
nc-array-import widget for ncform
npm i -s @ncform/nc-array-import
Add the widget
import ncArrayImport from '@ncform/nc-array-import';
Vue.use(vueNcform, { extComponents: { ncArrayImport } });
// or vm.$ncformAddWidget({name: 'ncArrayImport', widget: ncArrayImport});
Use the widget
{
"type": "object",
"properties": {
"qq": {
"type": "array",
"items": {
"type": "number",
"ui": {},
},
"ui": {
"showLegend": false,
"label": "QQ号",
"widget": "nc-array-import",
"widgetConfig": {
"disableCollapse": true,
}
}
},
}
}
npm install
npm run serve
You only need to care about src/components/index.vue
npm run build
npm run test
npm run lint
npm run test:e2e
npm run test:unit
| Back | FazBrowse Home | New Git URL |