Commit 102a4c51 authored by tanjunxin's avatar tanjunxin

fix: 自动更新检测问题修改

parent 72ddf67c
import store from '@/store/index.js'
function check(param = {}) {
// 合并默认参数
......@@ -12,7 +14,7 @@ function check(param = {}) {
try {
console.log('widgetInfo', widgetInfo.version)
uni.request({
url: uni.getStorageSync('mesUrl') + '/md/appconfig/getVersion?appName=erpScan',
url: store.state.vuex_api_url + '/md/appconfig/getVersion?appName=erpScan',
success: (result) => {
result = result.data
console.log('result', result)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment