mooho-base-admin-plus 2.10.7 → 2.10.8
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,15 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<Modal
|
|
3
|
+
<Modal
|
|
4
|
+
v-model="opened"
|
|
5
|
+
scrollable
|
|
6
|
+
:fullscreen="isFullscreen"
|
|
7
|
+
:mask-closable="layout.maskClosable"
|
|
8
|
+
:draggable="layout.draggable"
|
|
9
|
+
:sticky="true"
|
|
10
|
+
:reset-drag-position="true"
|
|
11
|
+
:width="width"
|
|
12
|
+
>
|
|
4
13
|
<template #header>
|
|
5
14
|
<div>
|
|
6
15
|
<!--
|
|
@@ -12,6 +21,13 @@
|
|
|
12
21
|
</slot>
|
|
13
22
|
</div>
|
|
14
23
|
</template>
|
|
24
|
+
<template #close>
|
|
25
|
+
<div @click.stop>
|
|
26
|
+
<Icon v-if="!isFullscreen" style="font-size: 20px; color: #999; position: relative; top: -3px" type="ios-expand" @click="isFullscreen = !isFullscreen" />
|
|
27
|
+
<Icon v-if="isFullscreen" style="font-size: 20px; color: #999; position: relative; top: -3px" type="ios-contract" @click="isFullscreen = !isFullscreen" />
|
|
28
|
+
<Icon type="ios-close" @click="opened = false" />
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
15
31
|
<div class="ivu-ml-8 ivu-mr-8">
|
|
16
32
|
<view-form v-if="!isCustom" ref="form" :readonly="readonly"></view-form>
|
|
17
33
|
<component v-if="isCustom" ref="customComponent" :is="customComponent" :readonly="readonly" @on-ready="customComponentReady"></component>
|
|
@@ -104,7 +120,8 @@
|
|
|
104
120
|
name: null,
|
|
105
121
|
description: null,
|
|
106
122
|
customComponent: null,
|
|
107
|
-
form: null
|
|
123
|
+
form: null,
|
|
124
|
+
isFullscreen: false
|
|
108
125
|
};
|
|
109
126
|
},
|
|
110
127
|
async created() {},
|