提交 bf441fe9 编写于 作者: 雪洛's avatar 雪洛

feat: 调整uni-runtime兼容鸿蒙

上级 f97832de
......@@ -18,7 +18,7 @@ import type Context from 'packages/uni-app-harmony/types/ohos/api/application/Co
/**
* 内部使用不暴露给用户
*/
export const env = {
const env = {
// RESOURCE_PATH: 'resource://',
// 以下路径均不以`/`结尾
USER_DATA_PATH: '',
......
......@@ -2,4 +2,6 @@ export { getBaseSystemInfo } from '../service/api/base/getBaseSystemInfo'
export { inflateRaw, deflateRaw } from 'pako'
export { saveImage } from './saveImage'
export { getSameOriginUrl } from '../helpers/file'
export { getEnv } from './env'
export * from './getRealPath'
export * from './todo'
......@@ -86,8 +86,3 @@ export function getEnterOptions() {
// TODO: Implement
return extend({}, enterOptions)
}
export function getRealPath(filepath: string) {
// TODO: Implement
return filepath
}
export { isFunction, isString } from '@vue/shared'
export {
isFunction,
isString,
isPlainObject,
hasOwn,
extend,
isArray,
} from '@vue/shared'
export * from '@dcloudio/uni-api'
export * from '@dcloudio/uni-shared'
export * from '@dcloudio/uni-platform'
export const __uniConfig = globalThis.__uniConfig
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册