Browse Source

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 days ago
parent
commit
02614fd312
1 changed files with 1 additions and 1 deletions
  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,