ZaiZai před 1 rokem
rodič
revize
ef8aad31ac
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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">