Commit 86af3d56420fdce0853d5465b72c334f8f5fcefe
Merge branch 'ww' into 'main'
fix: fix can not open drawio See merge request huang/thingskit-app!68
Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -53,7 +53,9 @@ export default { | @@ -53,7 +53,9 @@ export default { | ||
| 53 | }; | 53 | }; | 
| 54 | const getUrl = await uni.$u.http.get('/', { params: httpData, custom: { load: false } }); | 54 | const getUrl = await uni.$u.http.get('/', { params: httpData, custom: { load: false } }); | 
| 55 | const pathUrl = uni.getStorageSync('config'); | 55 | const pathUrl = uni.getStorageSync('config'); | 
| 56 | - this.showConfiguration = pathUrl.baseURL + '/' + '?' + 'configurationId=' + e + '&' + 'lightbox=' + 1; | 56 | + const userInfo = uni.getStorageSync('userInfo') | 
| 57 | + this.showConfiguration = `${pathUrl.baseURL}/?configurationId=${e}&userId=${userInfo.userId}&lightbox=1` | ||
| 58 | + // this.showConfiguration = pathUrl.baseURL + '/' + '?' + 'configurationId=' + e + '&' + 'lightbox=' + 1; | ||
| 57 | } | 59 | } | 
| 58 | } | 60 | } | 
| 59 | }; | 61 | }; |