ZaiZai il y a 1 an
Parent
commit
ef8aad31ac
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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">