ZaiZai 1 год назад
Родитель
Сommit
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">