ZaiZai 1 년 전
부모
커밋
ef8aad31ac
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      components/hc-update/index.vue

+ 4 - 0
components/hc-update/index.vue

@@ -33,6 +33,10 @@
 import {ref} from "vue";
 
 const isShow = ref(false)
+
+const {appVersion, appWgtVersion} = uni.getSystemInfoSync();
+console.log(appVersion, appWgtVersion)
+
 </script>
 
 <style scoped lang="scss">