feat: 为代码编辑插件增加了更多的语言支持,修复了一些bug,样式还没写。
This commit is contained in:
1 parent
86b3a02237
commit
ef5a8f1a9e
7 files changed
+275
-18
No files matched your search
@@ -77,12 +77,13 @@ const miaoFetchApi = {
|
||||
// const { baseUrl, api } = Config
|
||||
const url = vFile.url
|
||||
const retry = option?.retry ?? 0
|
||||
const axiosOption = option?.axiosOption ?? {}
|
||||
|
||||
const { miaoFetch } = useMiaoFetch({
|
||||
retry
|
||||
})
|
||||
const response = await miaoFetch({
|
||||
url
|
||||
url, ...axiosOption
|
||||
})
|
||||
return response.data
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user