diff --git a/.env.development b/.env.development index f354029a..94f0d442 100644 --- a/.env.development +++ b/.env.development @@ -7,7 +7,7 @@ ENV = 'development' #VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7002' -#VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' +VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' # VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' # VITE_APP_BASE_API_Url = 'http://192.168.247.200' @@ -21,7 +21,7 @@ ENV = 'development' # sit -VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786' +#VITE_APP_BASE_API_Url = 'http://25.18.122.91:9786' # UAT diff --git a/src/pages/course/components/touchBtnOnlyVoice.vue b/src/pages/course/components/touchBtnOnlyVoice.vue index 2e221eb8..d86b257c 100644 --- a/src/pages/course/components/touchBtnOnlyVoice.vue +++ b/src/pages/course/components/touchBtnOnlyVoice.vue @@ -487,6 +487,11 @@ }); } }; + const clearInputText = (text = '') => { + let oldText = answerValue.value + answerValue.value = text; + return oldText + } const changeBtn = () => { if (props.isDisabled) return; keyboardIsShow.value = !keyboardIsShow.value; @@ -495,6 +500,7 @@ onHide(() => { isGettingPermission.value = true }) + defineExpose({clearInputText})