src/api/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/components/card/data-card/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/components/table/base-table/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tabviews/custom/components/table/normal-table/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/mobdesign/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/api/index.js
@@ -103,23 +103,10 @@ wxAccessToken (appId, domain = '') { let _url = domain || window.GLOB.baseurl return new Promise(resolve => { if (window.GLOB.accessToken.appId === appId && window.GLOB.accessToken.accessTime && (parseInt(new Date().getTime() / 1000) - window.GLOB.accessToken.accessTime < 30)) { resolve(window.GLOB.accessToken) } else { window.GLOB.accessToken = {appId} axios({ url: _url + 'wechat/getaccesstoken', method: 'post', data: JSON.stringify({app_id: appId}) }).then(res => { if (res.access_token) { window.GLOB.accessToken.accessTime = parseInt(new Date().getTime() / 1000) window.GLOB.accessToken.access_token = res.access_token } resolve(res) }) } return axios({ url: _url + 'wechat/getaccesstoken', method: 'post', data: JSON.stringify({app_id: appId}) }) } src/index.js
@@ -51,7 +51,6 @@ GLOB.WXMerchID = config.WXMerchID || '' GLOB.WXNotice = config.WXNotice + '' === 'true' GLOB.execType = config.execType === 'x' ? 'x' : '' GLOB.accessToken = {} GLOB.mkHS = false GLOB.debugger = false GLOB.dataFormat = false src/tabviews/custom/components/card/data-card/index.jsx
@@ -949,6 +949,12 @@ _data.$$BID = BID || '' _data.$$BData = BData || '' if (config.wrap.controlField) { if (config.wrap.controlVal.includes(_data[config.wrap.controlField] + '')) { _data.$disabled = true } } data = data.map(item => { if (item.$$uuid === _data.$$uuid) { _data.key = item.key src/tabviews/custom/components/table/base-table/index.jsx
@@ -288,6 +288,12 @@ _data.$$BID = BID || '' _data.$$BData = BData || '' if (setting.controlField) { if (setting.controlVal.includes(_data[setting.controlField] + '')) { _data.$disabled = true } } if (config.absFields) { config.absFields.forEach(f => { if (!isNaN(_data[f])) { src/tabviews/custom/components/table/normal-table/index.jsx
@@ -724,6 +724,12 @@ _data.$$uuid = _data[setting.primaryKey] || '' _data.$$BID = BID || '' _data.$$BData = BData || '' if (setting.controlField) { if (setting.controlVal.includes(_data[setting.controlField] + '')) { _data.$disabled = true } } if (config.absFields) { config.absFields.forEach(f => { src/views/mobdesign/index.jsx
@@ -1528,6 +1528,7 @@ } delete config.miniTitle delete config.miniReloadUp config.components.forEach(item => { if (item.type === 'login') { @@ -1536,8 +1537,13 @@ config.loginview = true } else if (item.type === 'navbar') { config.tabview = true } else if (item.type === 'topbar' && adapters.includes('wxmini') && item.wrap.minishow !== 'true') { config.miniTitle = item.wrap.title || '' } else if (item.type === 'topbar' && adapters.includes('wxmini')) { if (item.wrap.minishow !== 'true') { config.miniTitle = item.wrap.title || '' } if (item.wrap.reload === 'true') { config.miniReloadUp = true } } })