修改模态框
This commit is contained in:
parent
3a8aa3ba25
commit
dee05e9eea
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="component-widgets-modal" v-if="show">
|
<view class="component-widgets-modal">
|
||||||
<view class="modal-mask" @click="close"></view>
|
<view class="modal-mask" @click="close"></view>
|
||||||
<view class="modal-content" :style="{ width: width }">
|
<view class="modal-content" :style="{ width: width }">
|
||||||
<view class="modal-title">
|
<view class="modal-title">
|
||||||
|
@ -22,10 +22,6 @@ export default {
|
||||||
return {};
|
return {};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
show: {
|
|
||||||
type: Boolean,
|
|
||||||
default: false,
|
|
||||||
},
|
|
||||||
title: {
|
title: {
|
||||||
type: String,
|
type: String,
|
||||||
default: "默认标题",
|
default: "默认标题",
|
||||||
|
|
Loading…
Reference in New Issue