feat(projects): 新增静态路由

This commit is contained in:
Soybean
2022-03-30 01:19:37 +08:00
parent bbfdcc8276
commit ca2dfa6185
34 changed files with 1591 additions and 1875 deletions

View File

@ -18,7 +18,7 @@
import { ref, onMounted } from 'vue';
import type { DataTableColumn } from 'naive-ui';
import { useLoadingEmpty } from '@/hooks';
import { getRandomInterger } from '@/utils';
import { getRandomInteger } from '@/utils';
interface DataSource {
name: string;
@ -52,7 +52,7 @@ function createDataSource(): DataSource[] {
.map((_item, index) => {
return {
name: `Name${index}`,
age: getRandomInterger(30, 20),
age: getRandomInteger(30, 20),
address: '中国',
};
});

View File

@ -5,6 +5,6 @@
</template>
<script setup lang="ts">
const src = 'https://www.naiveui.com';
const src = 'https://www.naiveui.com/zh-CN/os-theme/docs/introduction';
</script>
<style scoped></style>