@tarojs/plugin-platform-harmony-ets 4.0.0-beta.25 → 4.0.0-beta.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.
@@ -19,7 +19,7 @@ export function temporarilyNotSupport (name: string, recommended?: string) {
19
19
  return (option = {}, ...args) => {
20
20
  const { success, fail, complete } = option as any
21
21
  const handle = new MethodHandler({ name, success, fail, complete })
22
- let errMsg = '暂时不支持 API'
22
+ let errMsg = `暂时不支持 API ${name}`
23
23
  if (recommended) {
24
24
  errMsg += `, 请使用 ${recommended}`
25
25
  }
@@ -186,7 +186,7 @@ function temporarilyNotSupport(name, recommended) {
186
186
  return (option = {}, ...args) => {
187
187
  const { success, fail, complete } = option;
188
188
  const handle = new MethodHandler({ name, success, fail, complete });
189
- let errMsg = '暂时不支持 API';
189
+ let errMsg = `暂时不支持 API ${name}`;
190
190
  if (recommended) {
191
191
  errMsg += `, 请使用 ${recommended}`;
192
192
  }