Răsfoiți Sursa

fix : 1.修改游记列表搜索

suwenjiang 4 săptămâni în urmă
părinte
comite
2d949509d1
2 a modificat fișierele cu 15 adăugiri și 7 ștergeri
  1. 4 4
      .env.development
  2. 11 3
      src/pages/note-create/index.client.vue

+ 4 - 4
.env.development

@@ -3,8 +3,8 @@ VITE_APP_ENV=development
 
 # 测试服
 # VITE_APP_BASE_URL=https://service.xiaoyaotravel.com/api/
-# VITE_APP_BASE_URL=http://101.126.146.250:8082/
-# VITE_APP_IM_URL=ws://101.126.146.250:8082/system/message
+VITE_APP_BASE_URL=http://101.126.146.250:8082/
+VITE_APP_IM_URL=ws://101.126.146.250:8082/system/message
 
 # 陈英政
 # VITE_APP_BASE_URL=http://101.126.146.250:8084/
@@ -31,9 +31,9 @@ VITE_APP_ENV=development
 # VITE_APP_IM_URL=ws://q9943037p3.goho.co/system/message
 
 # 张维本地
-VITE_APP_BASE_URL=http://192.168.1.73:8082/
+# VITE_APP_BASE_URL=http://192.168.1.73:8082/
 # 本地socoket
-VITE_APP_IM_URL=ws://192.168.1.73:8082/system/message
+# VITE_APP_IM_URL=ws://192.168.1.73:8082/system/message
 
 # 花生壳
 # VITE_APP_BASE_URL=http://5nfhmg.natappfree.cc

+ 11 - 3
src/pages/note-create/index.client.vue

@@ -89,7 +89,7 @@
         </div>
 
         <button
-          @click.stop="showExpandTextInput = !showExpandTextInput"
+          @click.stop="expandTextInput"
           class="h-26 ml-auto shrink-0 active:bg-[#000]/[0.1] box-border text-[10px] px-8 text-black-3 flex justify-center rounded-full items-center bg-[#F3F3F3]"
         >
           <img
@@ -1003,6 +1003,16 @@ const handleClickOutside = (event) => {
   }
 }
 
+// 切换
+function expandTextInput() {
+  showExpandTextInput.value = !showExpandTextInput.value
+  // nextTick(() => {
+  //   if (showExpandTextInput.value) {
+  //     editor.value.focus()
+  //   }
+  // })
+}
+
 // 预览
 const previewOptions = reactive({
   show: false
@@ -1037,8 +1047,6 @@ onMounted(() => {
 </script>
 
 <style lang="scss" scoped>
-// @import '../../assets/css/quill.snow.css';
-
 ::v-deep .van-field:focus {
   caret-color: #ff9300 !important;
   outline: none;