@ddwl/ddwl-ui 1.0.16 → 1.0.18

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/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## [1.0.18](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.17...v1.0.18) (2025-07-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * d-import-file 通过templateUrl判断是否展示下载模板按钮 ([d695a41](https://121.40.23.60:51888/frontend/ddwl-ui/commits/d695a4179a8debad116d8a2053f36e851ea83561))
7
+
8
+
9
+
10
+ ## [1.0.17](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.16...v1.0.17) (2025-07-08)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * 导入组件模板链接赋值修改 ([1985621](https://121.40.23.60:51888/frontend/ddwl-ui/commits/19856218130faa74ff9f120733b597627f385171))
16
+
17
+
18
+
1
19
  ## [1.0.16](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.15...v1.0.16) (2025-07-04)
2
20
 
3
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddwl/ddwl-ui",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "private": false,
5
5
  "main": "src/main.js",
6
6
  "description": "ddwl组件库",
@@ -40,6 +40,7 @@
40
40
  </div>
41
41
  </el-form-item>
42
42
  <el-button
43
+ v-show="templateUrl"
43
44
  icon="el-icon-paperclip"
44
45
  type="text"
45
46
  @click="downloadFile"
@@ -115,7 +116,7 @@ export default {
115
116
  },
116
117
  methods: {
117
118
  downloadFile () {
118
- window.location.href = `${process.env.NODE_ENV === 'development' ? 'http://121.40.125.185:19999' : ''}${this.templateUrl}?authToken=${this.$store.getters.token}`
119
+ window.location.href = this.templateUrl
119
120
  },
120
121
  uploadChange (file, fileList) {
121
122
  const isLimit = file.size / 1024 / 1024 < this.fileSize