소스 검색

优化监视器提示

zhusiqing 3 년 전
부모
커밋
14514a0079
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/utils/observer.ts

+ 1 - 1
src/utils/observer.ts

@@ -55,7 +55,7 @@ export class Observer {
   // 查询是否注册
   list(type = '') {
     if (!type) {
-      throw new Error(`${type} is not exist`);
+      throw new Error('type is not exist');
     };
     if (this.handle.has(type)) {
       return this.handle.get(type);