Explorar el Código

feat: 将 keyValue 属性的类型声明为字符串并设置默认值

xieyong hace 1 semana
padre
commit
b4cf14e5df
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/BIZComponents/seekPage.vue

+ 4 - 1
src/BIZComponents/seekPage.vue

@@ -203,7 +203,10 @@
         type: [Number],
         default: 3
       },
-      keyValue: ''
+      keyValue: {
+        type: String,
+        default: ''
+      }
     },
     mounted() {
       let whereObj = sessionStorage[this.keyValue];