瀏覽代碼

update src/hooks/web/useMessage.ts.

Signed-off-by: niou233 <2922564446@qq.com>
niou233 1 年之前
父節點
當前提交
2ff97758fd
共有 1 個文件被更改,包括 0 次插入12 次删除
  1. 0 12
      src/hooks/web/useMessage.ts

+ 0 - 12
src/hooks/web/useMessage.ts

@@ -90,18 +90,6 @@ export const useMessage = () => {
         cancelButtonText: t('common.cancel'),
         type: 'warning'
       })
-    },
-    // 取消收藏窗体
-    delStarConfirm(content?: string, tip?: string) {
-      return ElMessageBox.confirm(
-        content ? content : t('common.confirmDelStar'),
-        tip ? tip : t('common.confirmTitle'),
-        {
-          confirmButtonText: t('common.ok'),
-          cancelButtonText: t('common.cancel'),
-          type: 'warning'
-        }
-      )
     }
   }
 }