ZaiZai 1 år sedan
förälder
incheckning
ef8aad31ac
1 ändrade filer med 4 tillägg och 0 borttagningar
  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">