mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-20 22:56:35 +08:00
refactor: PageTable组件重构、使用useFetch封装接口请求
This commit is contained in:
@@ -110,6 +110,9 @@ const getFileType = (path: string) => {
|
||||
if (path.endsWith('xml') || path.endsWith('html')) {
|
||||
return 'html';
|
||||
}
|
||||
if (path.endsWith('py')) {
|
||||
return 'python';
|
||||
}
|
||||
return 'text';
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user