Explorar el Código

优化监视器提示

zhusiqing hace 3 años
padre
commit
14514a0079
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);