wkjp-list-page 1.0.5 → 1.0.6

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": "wkjp-list-page",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Vue2 + ElementUI CommonListPage component",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -183,7 +183,7 @@ import FloatingInput from "./FloatingInput.vue";
183
183
  import FloatingSelect from "./FloatingSelect.vue";
184
184
  import FloatingDatePicker from "./FloatingDatePicker.vue";
185
185
  import FloatingCascader from "./FloatingCascader.vue";
186
- import ExportFile from "./common/exportFile/index.vue";
186
+ import ExportFile from "./ExportFile.vue";
187
187
 
188
188
  export default {
189
189
  name: "CommonListPage",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <!-- 导出组件-->
2
+ <!-- 列表导出按钮(供 CommonListPage 使用) -->
3
3
  <el-button
4
4
  :disabled="disabled"
5
5
  @click="handleExport()"
@@ -19,7 +19,7 @@
19
19
 
20
20
  <script>
21
21
  import qs from "qs";
22
- import { createDownLoadLink } from "../../../utils/createDownLoadLink";
22
+ import { createDownLoadLink } from "../utils/createDownLoadLink";
23
23
 
24
24
  export default {
25
25
  name: "export-component",
@@ -1,6 +1,7 @@
1
- import exportFile from "./index.vue";
1
+ import exportFile from "../../ExportFile.vue";
2
+
2
3
  export const ExportFile = {
3
- install: function(vue) {
4
+ install: function (vue) {
4
5
  vue.component("export-file", exportFile);
5
- }
6
+ },
6
7
  };