agilebuilder-ui 1.0.27 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "main": "./lib/super-ui.js",
package/src/permission.js CHANGED
@@ -57,25 +57,9 @@ router.beforeEach((to, from, next) => {
57
57
  authApi.setSessionCache(runCurrentRoleKey, to.query[currentRoleKey])
58
58
  }
59
59
  let token
60
- if (to.query && to.query.JWT) {
61
- token = to.query.JWT
62
- if (token) {
63
- // 微信小程序web-view直接访问路径时使用?将JWT传过来
64
- setToken(token)
65
- }
66
- console.log('router.beforeEach-to.query.JWT=', token)
67
- }
68
- if (!token && to.query && to.query.jwt) {
69
- token = to.query.jwt
70
- if (token) {
71
- // 微信小程序web-view直接访问路径时使用?将JWT传过来
72
- setToken(token)
73
- }
74
- console.log('router.beforeEach-to.query.jwt=', token)
75
- }
76
60
  // 是否是开发环境功能
77
61
  let isDevp = isDevpSystem()
78
- if(!token && authApi.getSessionCache(runDevpJWTKey)) {
62
+ if(authApi.getSessionCache(runDevpJWTKey)) {
79
63
  // setToken(authApi.getSessionCache(runDevpJWTKey))
80
64
  token = authApi.getSessionCache(runDevpJWTKey)
81
65
  console.log('router.beforeEach-authApi.getSessionCache(_runDevpJWT)=', authApi.getSessionCache(runDevpJWTKey))
@@ -274,4 +274,9 @@
274
274
  border-radius: 0;
275
275
  box-shadow: 0 0px 0px #ccc;
276
276
  }
277
+
278
+ iframe.tab-main-content {
279
+ width: 100%;
280
+ height: calc(100vh - 53px);
281
+ }
277
282
  }
@@ -192,12 +192,12 @@ export default {
192
192
  }
193
193
  </script>
194
194
 
195
- <style lang="scss" rel="stylesheet/scss" scoped>
195
+ <!-- <style lang="scss" rel="stylesheet/scss">
196
196
  iframe.tab-main-content {
197
197
  width: 100%;
198
198
  height: calc(100vh - 53px);
199
199
  }
200
- </style>
200
+ </style> -->
201
201
 
202
202
  <style>
203
203
  .nav-tab {