|
|
@@ -6,7 +6,7 @@
|
|
|
<view class="common-title">{{title}}</view>
|
|
|
<view class="common-content" :class="dialogContentClass">{{content}}</view>
|
|
|
<view class="common-btn-box">
|
|
|
- <view class="not-confirm-btn" @click="handleClose">{{notBtn}}</view>
|
|
|
+ <view class="not-confirm-btn" v-if="showQuxiao" @click="handleClose">{{notBtn}}</view>
|
|
|
<view class="confirm-btn" @click="confirmBtn">{{okBtn}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -31,6 +31,10 @@
|
|
|
require: true,
|
|
|
default: 'content-center-class'
|
|
|
},
|
|
|
+ showQuxiao: {
|
|
|
+ type: Boolean,
|
|
|
+ default: true
|
|
|
+ },
|
|
|
notBtn: {
|
|
|
type: String,
|
|
|
require: true,
|