feat: 新增数据校验,数据导入导出

This commit is contained in:
mtruning
2022-03-19 23:28:33 +08:00
parent e672b75453
commit 8ee18819c5
11 changed files with 270 additions and 66 deletions
+12 -4
View File
@@ -1,16 +1,16 @@
<template>
<div v-show="load">
<div v-show="load" class="go-skeleton">
<div v-show="repeat == 1">
<n-skeleton v-bind="$attrs"></n-skeleton>
</div>
<div v-show="repeat == 2">
<n-skeleton v-bind="$attrs"></n-skeleton>
<n-skeleton v-bind="$attrs" style="width: 60%;"></n-skeleton>
<n-skeleton class="item" v-bind="$attrs" style="width: 60%;"></n-skeleton>
</div>
<div v-show="repeat > 2">
<n-skeleton v-bind="$attrs" :repeat="repeat - 2"></n-skeleton>
<n-skeleton v-bind="$attrs" style="width: 60%;"></n-skeleton>
<n-skeleton v-bind="$attrs" style="width: 50%;"></n-skeleton>
<n-skeleton class="item" v-bind="$attrs" style="width: 60%;"></n-skeleton>
<n-skeleton class="item" v-bind="$attrs" style="width: 50%;"></n-skeleton>
</div>
</div>
</template>
@@ -27,3 +27,11 @@ defineProps({
}
})
</script>
<style lang="scss" scoped>
@include go('skeleton') {
.item {
margin-top: 5px;
}
}
</style>