tangning 8 місяців тому
батько
коміт
8edc921ba7

+ 1 - 1
src/views/message/index.vue

@@ -99,7 +99,7 @@ onMounted(() => {
 const refresh = async () => {
   const res = await fetchMessageList(main.sceneCode)
   console.log('res', res)
-  messageList.value = (res as never as MessageItem[]) || []
+  messageList.value = (res as never as MessageItem[]).reverse() || []
 }
 const handleMessageClick = async (ms: MessageItem) => {
   const sid = ms.content.sid

+ 1 - 1
src/views/textToaudio/ttsModel.vue

@@ -204,7 +204,7 @@ const handleSave = async () => {
   })
 }
 
-const activeType = computed(() => (type) => form.voiceType === type)
+const activeType = computed(() => (type) => form.voiceType == type)
 
 watchEffect(() => {
   showModal.value = props.show

+ 1 - 1
src/views/topicNavigation/index.vue

@@ -173,7 +173,7 @@ const logEvent = (evt) => {
   console.log('end', evt, newDataList.value)
 }
 const handleAdd = () => {
-  dataList.value.push({
+  dataList.value.unshift({
     title: '新增路线',
     panos: []
   })