Просмотр исходного кода

refactor(live-stream): streamline input and table components for improved readability

- Simplified the structure of input fields and table components in the live stream view for better readability.
- Consolidated multiple lines of code into single lines where appropriate, enhancing the overall code clarity.
- Maintained existing functionality while improving the visual layout of the search form and data table.
yb 2 дней назад
Родитель
Сommit
02614fd312
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/live-stream/index.vue

+ 1 - 1
src/views/live-stream/index.vue

@@ -1696,7 +1696,7 @@ async function addTimelinePoint(time?: number) {
       presetTotalTime: timelineDuration.value
     })
 
-    if (res.success) {
+    if (res.code === 200) {
       // 保存成功后添加打点
       const newPoint: TimelinePoint = {
         id: newId,