mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat(projects): 新增静态路由
This commit is contained in:
@ -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: '中国',
|
||||
};
|
||||
});
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user