fix
This commit is contained in:
parent
78c0d3d265
commit
e7f6ea07ad
|
|
@ -19,8 +19,6 @@ import PythonCoreTestPage from './pages/PythonCoreTestPage'
|
||||||
import PythonEnvManagerPage from './pages/PythonEnvManagerPage'
|
import PythonEnvManagerPage from './pages/PythonEnvManagerPage'
|
||||||
import * as path from '@tauri-apps/api/path';
|
import * as path from '@tauri-apps/api/path';
|
||||||
import { convertFileSrc } from '@tauri-apps/api/core'
|
import { convertFileSrc } from '@tauri-apps/api/core'
|
||||||
|
|
||||||
function App() {
|
|
||||||
async function testPath() {
|
async function testPath() {
|
||||||
console.log({
|
console.log({
|
||||||
appCacheDir: await path.appCacheDir(),
|
appCacheDir: await path.appCacheDir(),
|
||||||
|
|
@ -46,6 +44,8 @@ function App() {
|
||||||
const url = convertFileSrc(mp4)
|
const url = convertFileSrc(mp4)
|
||||||
console.log({ mp4, url })
|
console.log({ mp4, url })
|
||||||
}
|
}
|
||||||
|
function App() {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
testPath()
|
testPath()
|
||||||
}, [])
|
}, [])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue