fix(modal.md): props 参数错误,宽高改为 area

This commit is contained in:
sight 2022-03-08 08:34:04 +08:00
parent 0b8bfbfc30
commit eaa1cf895b

View File

@ -16,7 +16,6 @@
<script> <script>
import { ref, watch } from "vue"; import { ref, watch } from "vue";
import { useRoute, useRouter } from "vue-router"; import { useRoute, useRouter } from "vue-router";
import { LayLayer } from "@layui/layer-vue";
export default { export default {
setup() { setup() {
@ -160,7 +159,7 @@ export default {
<template> <template>
<lay-button @click="changeVisible5" type="primary">远程窗体</lay-button> <lay-button @click="changeVisible5" type="primary">远程窗体</lay-button>
<lay-layer title="加载 Iframe 内容" width="500px" height="400px" maxmin="true" v-model="visible5" move="true" :type="type5" content="http://www.pearadmin.com"></lay-layer> <lay-layer title="加载 Iframe 内容" :area="['500px','400px']" maxmin="true" v-model="visible5" move="true" :type="type5" content="http://www.pearadmin.com"></lay-layer>
</template> </template>
<script> <script>