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";
 import {ref} from "vue";
 
 
 const isShow = ref(false)
 const isShow = ref(false)
+
+const {appVersion, appWgtVersion} = uni.getSystemInfoSync();
+console.log(appVersion, appWgtVersion)
+
 </script>
 </script>
 
 
 <style scoped lang="scss">
 <style scoped lang="scss">