소스 검색

修复bug

Hwf 4 일 전
부모
커밋
90093442bc
3개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/api/viedoTag/viedoManagement.ts
  2. 0 1
      src/views/emergencyCommandMap/LeftSection/FullVideos.vue
  3. 1 1
      src/views/videoTag/videoAdd.vue

+ 1 - 1
src/api/viedoTag/viedoManagement.ts

@@ -25,7 +25,7 @@ export function createVideoTag(data) {
 // 修改
 export function updateVideoTag(data) {
   return request({
-    url: '/api/videoResource/tag/update/',
+    url: '/api/videoResource/tag/update',
     method: 'put',
     data: data
   });

+ 0 - 1
src/views/emergencyCommandMap/LeftSection/FullVideos.vue

@@ -32,7 +32,6 @@ const reset = () => {
     height: calc(50% - 15px);
     margin-right: 15px;
     cursor: pointer;
-    cursor: pointer;
     background: url('@/assets/images/video/videoBg.png') no-repeat;
     background-size: 100% 100%;
     padding: 9.5px 3.8px 9px 5.5px;

+ 1 - 1
src/views/videoTag/videoAdd.vue

@@ -52,7 +52,7 @@ const submitForm = async (formEl) => {
   await formEl.validate((valid, fields) => {
     if (valid) {
       if (props.dictCode) {
-        updateVideoTag(form.value, props.dictCode).then(() => {
+        updateVideoTag(form.value).then(() => {
           proxy.$modal.msgSuccess('修改成功');
           emits('close', true);
           emits('refresh');