leisure-core 0.4.87 → 0.4.88
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/le-list/src/main.vue
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<le-button type="primary" @click="addItem()" v-if="isDispAddBtn"
|
|
9
9
|
>新建</le-button
|
|
10
10
|
>
|
|
11
|
-
<slot name="headerBtns"></slot>
|
|
11
|
+
<slot name="headerBtns" :params="searchData"></slot>
|
|
12
12
|
</el-form-item>
|
|
13
13
|
</el-form>
|
|
14
14
|
<el-table
|
|
@@ -188,7 +188,7 @@ export default {
|
|
|
188
188
|
EventBus.$on("closeDialog", this.closeDialog);
|
|
189
189
|
},
|
|
190
190
|
destroyed() {
|
|
191
|
-
EventBus.$off("closeDialog",this.closeDialog);
|
|
191
|
+
EventBus.$off("closeDialog", this.closeDialog);
|
|
192
192
|
},
|
|
193
193
|
mounted() {
|
|
194
194
|
this.getList();
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
<div class="comContainerClass">
|
|
15
15
|
<component
|
|
16
16
|
:is="componentType(item.type)"
|
|
17
|
-
v-bind="mergeProps(getComponentProps(item.type), item.attr || {})"
|
|
18
17
|
v-model="formPop[item.prop]"
|
|
18
|
+
v-bind="mergeProps(getComponentProps(item.type), item.attr || {})"
|
|
19
19
|
v-on="item.event"
|
|
20
20
|
>
|
|
21
21
|
<template v-if="item.type === 'radio'">
|
|
@@ -103,7 +103,7 @@ export default {
|
|
|
103
103
|
},
|
|
104
104
|
number: {
|
|
105
105
|
component: "le-input-number",
|
|
106
|
-
props: {
|
|
106
|
+
props: {},
|
|
107
107
|
},
|
|
108
108
|
radio: { component: "el-radio-group", props: {} },
|
|
109
109
|
date: {
|