n20-common-lib 1.3.15 → 1.3.16
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
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
</template>
|
|
40
40
|
|
|
41
41
|
<script>
|
|
42
|
-
import expandableWrap from '../Expandable/
|
|
42
|
+
import expandableWrap from '../Expandable/main.vue'
|
|
43
43
|
import approvalCard from '../ApprovalCard/index.vue'
|
|
44
44
|
import approvalImg from './approvalImg.vue'
|
|
45
45
|
export default {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
<div class="n20-title flex-box flex-lr flex-v">
|
|
4
4
|
<span class="n20-tips" @click="getExpand">
|
|
5
5
|
<i
|
|
6
|
+
v-if="icon"
|
|
6
7
|
class="el-icon-caret-right color-0 m-r-b"
|
|
7
8
|
:class="{ expand: expand }"
|
|
8
9
|
></i>
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
<slot name="tips"></slot>
|
|
15
16
|
</div>
|
|
16
17
|
</div>
|
|
17
|
-
<el-collapse-transition>
|
|
18
|
+
<el-collapse-transition v-if="showExpand">
|
|
18
19
|
<div v-show="expand">
|
|
19
20
|
<slot></slot>
|
|
20
21
|
</div>
|
|
@@ -33,6 +34,14 @@ export default {
|
|
|
33
34
|
title: {
|
|
34
35
|
type: String,
|
|
35
36
|
default: ''
|
|
37
|
+
},
|
|
38
|
+
icon: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: true
|
|
41
|
+
},
|
|
42
|
+
showExpand: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: true
|
|
36
45
|
}
|
|
37
46
|
},
|
|
38
47
|
data() {
|