去掉收藏图标

This commit is contained in:
XaoLi717 2024-07-30 10:18:59 +08:00
parent 219c81e864
commit 77b7c714eb

View File

@ -114,10 +114,6 @@
>
删除
</el-button>
<div>
<el-image @click="star(scope.row.id)" style="width: 20px; height: 20px" v-show="ys" :src="yesIcon"/>
<el-image @click="star((scope.row.id))" style="width: 20px; height: 20px" v-show="!ys" :src="noIcon"/>
</div>
</template>
</el-table-column>
</el-table>
@ -142,8 +138,6 @@ import { KnowledgeApi, KnowledgeVO } from '@/api/bpm/knows/knowledge'
import KnowledgeForm from './KnowledgeForm.vue'
import { defaultProps, handleTree } from '@/utils/tree'
import * as DeptApi from "@/api/system/dept";
import yesIcon from "../../../../assets/imgs/star_yes.svg"
import noIcon from "../../../../assets/imgs/star_no.svg"
/** 知识发布 列表 */
defineOptions({ name: 'Knowledge' })
@ -198,10 +192,6 @@ const resetQuery = () => {
queryFormRef.value.resetFields()
handleQuery()
}
const star = (userid:number) => {
ys.value = !ys.value
console.log(userid)
}
/** 添加/修改操作 */
const formRef = ref()