|
@@ -30,6 +30,10 @@ const props = defineProps({
|
|
|
type: {
|
|
|
type: String,
|
|
|
default: '1'
|
|
|
+ },
|
|
|
+ setClass: {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -62,8 +66,7 @@ function contactMeEvent(phone) {
|
|
|
if (!phonePass) {
|
|
|
return showToast('联系电话格式不正确')
|
|
|
}
|
|
|
- // configInfo.phone = phone
|
|
|
- changePhoneDialog.phoneNumber = phone
|
|
|
+ configInfo.userPhone = phone
|
|
|
contactMe()
|
|
|
}
|
|
|
|
|
@@ -96,6 +99,7 @@ export default {
|
|
|
:wxer="configInfo.wxer"
|
|
|
:phone="configInfo.phone"
|
|
|
:user-phone="configInfo?.userPhone || ''"
|
|
|
+ :set-class="config.props.setClass"
|
|
|
@contactMeEvent="contactMeEvent"
|
|
|
@close="updateVisible(false)"
|
|
|
/>
|