Explorar o código

新增换热站关闭之后清除地图关键字

picasso %!s(int64=3) %!d(string=hai) anos
pai
achega
4b02f2da14
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/heatStation/heatStation/component/edit.vue

+ 1 - 1
src/views/heatStation/heatStation/component/edit.vue

@@ -164,11 +164,11 @@ export default defineComponent({
 		// 关闭弹窗
 		const closeDialog = () => {
 			state.dialogVisible = false
+			state.keyword = ''
 		}
 		// 取消
 		const onCancel = () => {
 			closeDialog()
-			state.keyword = ''
 		}
 		const getDetail = () => {
 			api.heatStation.detail(state.ruleForm.id)