csb demo fix

pull/1333/head
Tuğçe Küçükoğlu 2021-06-07 17:29:46 +03:00
parent fa3df99981
commit be277adc75
2 changed files with 4 additions and 2 deletions

View File

@ -113,7 +113,7 @@
</div>
</div>
<AppDoc name="FloatLabelDemo" :sources="sources" :service="['CountryService']" :data="['countries']" github="floatlabel/FloatLabelDemo.vue" />
<AppDoc name="FloatLabelDemo" :sources="sources" :service="['CountryService', 'NodeService']" :data="['countries', 'treenodes']" github="floatlabel/FloatLabelDemo.vue" />
</div>
</template>
@ -596,6 +596,7 @@ export default {
nodeService.value.getTreeNodes().then(data => nodes.value = data);
})
const countryService = ref(new CountryService());
const nodeService = ref(new NodeService());
const countries = ref();
const filteredCountries = ref();
const cities = ref([

View File

@ -52,7 +52,7 @@
</div>
</div>
<AppDoc name="InvalidDemo" :sources="sources" :service="['CountryService']" :data="['countries']" github="invalid/InvalidDemo.vue" />
<AppDoc name="InvalidDemo" :sources="sources" :service="['CountryService', 'NodeService']" :data="['countries', 'treenodes']" github="invalid/InvalidDemo.vue" />
</div>
</template>
@ -402,6 +402,7 @@ export default {
nodeService.value.getTreeNodes().then(data => nodes.value = data);
})
const countryService = ref(new CountryService());
const nodeService = ref(new NodeService());
const countries = ref();
const filteredCountries = ref();
const cities = ref([