@ganwei-web/gw-base-components-plus 1.0.57 → 1.0.59

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.
@@ -52,13 +52,13 @@ export default {
52
52
  }
53
53
  },
54
54
  methods: {
55
- // 从 localStorage.webConfig 读取预览服务域名
55
+ // 从 sessionStorage.configInfoData 读取预览服务域名,未配置时使用默认域名
56
56
  getPreviewDomain() {
57
57
  try {
58
- const webConfig = JSON.parse(localStorage.getItem('webConfig') || '{}')
59
- return webConfig?.httpConfig?.configPreviewDomain || ''
58
+ const webConfig = JSON.parse(sessionStorage.getItem('configInfoData') || '{}')
59
+ return webConfig?.httpConfig?.configPreviewDomain || 'https://fileview.ganweicloud.com/'
60
60
  } catch (e) {
61
- return ''
61
+ return 'https://fileview.ganweicloud.com/'
62
62
  }
63
63
  },
64
64
  // 预览:使用预览服务器打开文件
@@ -135,6 +135,12 @@
135
135
  box-shadow: none;
136
136
  }
137
137
 
138
+ .el-input__wrapper {
139
+ .el-input__inner {
140
+ background: transparent;
141
+ }
142
+ }
143
+
138
144
  .el-textarea__inner {
139
145
  height: 16px;
140
146
  line-height: 16px;