详情页收藏功能BUG修改
This commit is contained in:
parent
9a681317f0
commit
e770028fba
|
@ -2,7 +2,7 @@
|
||||||
* @Author: hisense.liangjunhua
|
* @Author: hisense.liangjunhua
|
||||||
* @Date: 2022-06-08 16:06:10
|
* @Date: 2022-06-08 16:06:10
|
||||||
* @LastEditors: hisense.liangjunhua
|
* @LastEditors: hisense.liangjunhua
|
||||||
* @LastEditTime: 2022-06-15 20:44:47
|
* @LastEditTime: 2022-07-19 14:02:54
|
||||||
* @Description: 关联组件
|
* @Description: 关联组件
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @Author: hisense.liangjunhua
|
* @Author: hisense.liangjunhua
|
||||||
* @Date: 2022-06-08 11:56:28
|
* @Date: 2022-06-08 11:56:28
|
||||||
* @LastEditors: hisense.liangjunhua
|
* @LastEditors: hisense.liangjunhua
|
||||||
* @LastEditTime: 2022-07-19 11:09:23
|
* @LastEditTime: 2022-07-19 15:02:23
|
||||||
* @Description: 算法详情页头部
|
* @Description: 算法详情页头部
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
|
@ -154,7 +154,7 @@
|
||||||
if (res.data.msg === 'success') {
|
if (res.data.msg === 'success') {
|
||||||
message.success('取消成功')
|
message.success('取消成功')
|
||||||
// eslint-disable-next-line vue/no-mutating-props
|
// eslint-disable-next-line vue/no-mutating-props
|
||||||
props.dataList.isCollect = false
|
props.dataList.isCollect = 'false'
|
||||||
scFlag2.value = true
|
scFlag2.value = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -167,7 +167,7 @@
|
||||||
if (res.data.msg === 'success') {
|
if (res.data.msg === 'success') {
|
||||||
message.success('添加收藏成功!')
|
message.success('添加收藏成功!')
|
||||||
// eslint-disable-next-line vue/no-mutating-props
|
// eslint-disable-next-line vue/no-mutating-props
|
||||||
props.dataList.isCollect = true
|
props.dataList.isCollect = 'true'
|
||||||
scFlag2.value = true
|
scFlag2.value = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @Author: hisense.liangjunhua
|
* @Author: hisense.liangjunhua
|
||||||
* @Date: 2022-06-08 11:56:28
|
* @Date: 2022-06-08 11:56:28
|
||||||
* @LastEditors: hisense.liangjunhua
|
* @LastEditors: hisense.liangjunhua
|
||||||
* @LastEditTime: 2022-07-19 11:09:52
|
* @LastEditTime: 2022-07-19 15:02:47
|
||||||
* @Description: 算法详情页头部
|
* @Description: 算法详情页头部
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
if (res.data.msg === 'success') {
|
if (res.data.msg === 'success') {
|
||||||
message.success('取消成功')
|
message.success('取消成功')
|
||||||
// eslint-disable-next-line vue/no-mutating-props
|
// eslint-disable-next-line vue/no-mutating-props
|
||||||
props.dataList.isCollect = false
|
props.dataList.isCollect = 'false'
|
||||||
scFlag2.value = true
|
scFlag2.value = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -150,7 +150,7 @@
|
||||||
if (res.data.msg === 'success') {
|
if (res.data.msg === 'success') {
|
||||||
message.success('添加收藏成功!')
|
message.success('添加收藏成功!')
|
||||||
// eslint-disable-next-line vue/no-mutating-props
|
// eslint-disable-next-line vue/no-mutating-props
|
||||||
props.dataList.isCollect = true
|
props.dataList.isCollect = 'true'
|
||||||
scFlag2.value = true
|
scFlag2.value = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @Author: hisense.liangjunhua
|
* @Author: hisense.liangjunhua
|
||||||
* @Date: 2022-06-08 11:56:28
|
* @Date: 2022-06-08 11:56:28
|
||||||
* @LastEditors: hisense.liangjunhua
|
* @LastEditors: hisense.liangjunhua
|
||||||
* @LastEditTime: 2022-07-19 11:10:06
|
* @LastEditTime: 2022-07-19 15:03:50
|
||||||
* @Description: 开发组件详情页头部
|
* @Description: 开发组件详情页头部
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
if (res.data.msg === 'success') {
|
if (res.data.msg === 'success') {
|
||||||
message.success('取消成功')
|
message.success('取消成功')
|
||||||
// eslint-disable-next-line vue/no-mutating-props
|
// eslint-disable-next-line vue/no-mutating-props
|
||||||
props.dataList.isCollect = false
|
props.dataList.isCollect = 'false'
|
||||||
scFlag2.value = true
|
scFlag2.value = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
if (res.data.msg === 'success') {
|
if (res.data.msg === 'success') {
|
||||||
message.success('添加收藏成功!')
|
message.success('添加收藏成功!')
|
||||||
// eslint-disable-next-line vue/no-mutating-props
|
// eslint-disable-next-line vue/no-mutating-props
|
||||||
props.dataList.isCollect = true
|
props.dataList.isCollect = 'true'
|
||||||
scFlag2.value = true
|
scFlag2.value = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @Author: hisense.liangjunhua
|
* @Author: hisense.liangjunhua
|
||||||
* @Date: 2022-06-08 11:56:28
|
* @Date: 2022-06-08 11:56:28
|
||||||
* @LastEditors: hisense.liangjunhua
|
* @LastEditors: hisense.liangjunhua
|
||||||
* @LastEditTime: 2022-07-19 11:10:20
|
* @LastEditTime: 2022-07-19 15:04:02
|
||||||
* @Description: 算法详情页头部
|
* @Description: 算法详情页头部
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
if (res.data.msg === 'success') {
|
if (res.data.msg === 'success') {
|
||||||
message.success('取消成功')
|
message.success('取消成功')
|
||||||
// eslint-disable-next-line vue/no-mutating-props
|
// eslint-disable-next-line vue/no-mutating-props
|
||||||
props.dataList.isCollect = false
|
props.dataList.isCollect = 'false'
|
||||||
scFlag2.value = true
|
scFlag2.value = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
if (res.data.msg === 'success') {
|
if (res.data.msg === 'success') {
|
||||||
message.success('添加收藏成功!')
|
message.success('添加收藏成功!')
|
||||||
// eslint-disable-next-line vue/no-mutating-props
|
// eslint-disable-next-line vue/no-mutating-props
|
||||||
props.dataList.isCollect = true
|
props.dataList.isCollect = 'true'
|
||||||
scFlag2.value = true
|
scFlag2.value = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue