tremble пре 3 година
родитељ
комит
c457eaff91
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/Tags/goods-list.vue

+ 1 - 1
src/components/Tags/goods-list.vue

@@ -116,7 +116,7 @@ const addCart = async (item) => {
 
 
   Loading.hide();
-  if (result.data.status!=200) {
+  if (result.data.status==200) {
    return Dialog.toast({ content: `添加成功`, type: 'success' })
   } else{
    return Dialog.toast({ content: `登录状态失效,添加失败`, type: 'error' })