|
@@ -37,6 +37,28 @@
|
|
const okTxt = ref('');
|
|
const okTxt = ref('');
|
|
const closeTxt = ref('');
|
|
const closeTxt = ref('');
|
|
const isSingle = ref(false);
|
|
const isSingle = ref(false);
|
|
|
|
+ const props = defineProps({
|
|
|
|
+ title: {
|
|
|
|
+ type: String,
|
|
|
|
+ default: '温馨提示',
|
|
|
|
+ },
|
|
|
|
+ desc: {
|
|
|
|
+ type: String,
|
|
|
|
+ default: '',
|
|
|
|
+ },
|
|
|
|
+ okTxt: {
|
|
|
|
+ type: String,
|
|
|
|
+ default: '确定',
|
|
|
|
+ },
|
|
|
|
+ closeTxt: {
|
|
|
|
+ type: String,
|
|
|
|
+ default: '取消',
|
|
|
|
+ },
|
|
|
|
+ isSingle: {
|
|
|
|
+ type: Boolean,
|
|
|
|
+ default: false,
|
|
|
|
+ },
|
|
|
|
+ });
|
|
watch(
|
|
watch(
|
|
() => [baseDialog, ifBaseDialog],
|
|
() => [baseDialog, ifBaseDialog],
|
|
(val) => {
|
|
(val) => {
|
|
@@ -63,29 +85,6 @@
|
|
{ deep: true },
|
|
{ deep: true },
|
|
);
|
|
);
|
|
|
|
|
|
- const props = defineProps({
|
|
|
|
- title: {
|
|
|
|
- type: String,
|
|
|
|
- default: '温馨提示',
|
|
|
|
- },
|
|
|
|
- desc: {
|
|
|
|
- type: String,
|
|
|
|
- default: '',
|
|
|
|
- },
|
|
|
|
- okTxt: {
|
|
|
|
- type: String,
|
|
|
|
- default: '确定',
|
|
|
|
- },
|
|
|
|
- closeTxt: {
|
|
|
|
- type: String,
|
|
|
|
- default: '取消',
|
|
|
|
- },
|
|
|
|
- isSingle: {
|
|
|
|
- type: Boolean,
|
|
|
|
- default: false,
|
|
|
|
- },
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
const endLiveCancel = () => {
|
|
const endLiveCancel = () => {
|
|
emit('closeDialog');
|
|
emit('closeDialog');
|
|
|
|
|