#
whycq
2023-06-25 57e1d149ab7497373a656f3884dd6bb48f2ba72d
#
2个文件已修改
1个文件已添加
17 ■■■■ 已修改文件
manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/login/login.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/img/LOGO.jpg 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json
@@ -2,7 +2,7 @@
    "name" : "中扬WMS",
    "appid" : "__UNI__DA5854D",
    "description" : "",
    "versionName" : "6.6.6",
    "versionName" : "2023062501",
    "versionCode" : "100",
    "transformPx" : false,
    /* 5+App特有相关 */
pages/login/login.vue
@@ -139,16 +139,8 @@
            if (!this.url) {
                this.url = {ip: '',port: '',project: ''}
            }
            // this.getVersion()
        },
        onShow () {
            // 手机端版本号
            // // #ifdef APP-PLUS
            // var that = this
            // plus.runtime.getProperty(plus.runtime.appid, function(wgtinfo) {
            //     that.version = wgtinfo.version
            // });
            // // #endif
            this.getVersion()
        },
        methods: {
@@ -265,11 +257,18 @@
                    url: url,
                    method: 'GET',
                    success(res) {
                        console.log(res);
                        var res = res.data
                        if (res.data) {
                            that.filename = res.data.path
                            that.dialogContent = '发现新版本:' + res.data.version + ', 是否立即更新'
                            that.$refs.upVersion.open()
                        } else {
                            uni.showToast({
                                title: res.msg,
                                icon: "none",
                                position: 'top'
                            })
                        }
                        
                    }
static/img/LOGO.jpg