@tarojs/taro-h5 3.6.25 → 3.6.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/location/locationChange.d.ts +2 -2
- package/dist/index.cjs.d.ts +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.d.ts +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.esm.d.ts
CHANGED
|
@@ -363,8 +363,8 @@ declare function onLocationChange(callback: Taro.onLocationChange.Callback): voi
|
|
|
363
363
|
declare function offLocationChange(callback: Taro.onLocationChange.Callback): void;
|
|
364
364
|
declare function onLocationChangeError(callback: Taro.onLocationChange.Callback): void;
|
|
365
365
|
declare function offLocationChangeError(callback: Taro.onLocationChange.Callback): void;
|
|
366
|
-
declare const stopLocationUpdate: (options?: Partial<import("taro
|
|
367
|
-
declare const startLocationUpdate: (options?: Partial<import("taro
|
|
366
|
+
declare const stopLocationUpdate: (options?: Partial<import("@tarojs/taro").stopLocationUpdate.Option>, ...args: any[]) => Promise<TaroGeneral.CallbackResult>;
|
|
367
|
+
declare const startLocationUpdate: (options?: Partial<import("@tarojs/taro").startLocationUpdate.Option>, ...args: any[]) => Promise<TaroGeneral.CallbackResult>;
|
|
368
368
|
// 音频
|
|
369
369
|
declare const stopVoice: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
|
370
370
|
declare const setInnerAudioOption: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>;
|
package/dist/index.esm.js
CHANGED
|
@@ -145,7 +145,7 @@ function findDOM(inst) {
|
|
|
145
145
|
}
|
|
146
146
|
const page = Current$1.page;
|
|
147
147
|
const path = page === null || page === void 0 ? void 0 : page.path;
|
|
148
|
-
const msg = '
|
|
148
|
+
const msg = '没有找到已经加载了的页面,请在页面加载完成后使用此 API。';
|
|
149
149
|
if (path == null) {
|
|
150
150
|
throw new Error(msg);
|
|
151
151
|
}
|