![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
_冷山_
import torch as tf
展开
-
Ant Design Vue给a-table标题添加a-icon图标和气泡提示a-tooltip
参考Ant Design Vue 官方文档:https://antdv.com/components/table-cn/原来:columns的“定时任务间隔”列:运行效果:改动:用slots属性代替title在a-table标签之间定义title表头元素,添加a-icon图标运行效果:...原创 2021-08-11 17:07:32 · 5878 阅读 · 0 评论 -
title=“{{item.id}}“: Interpolation inside attributes has been removed. Use v-bind or the colon short
`title="{{item.id}}": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead``v-for列表渲染中给a-card标签的title和description属性单向绑定item的数据应该用如下写法。原创 2021-07-29 16:41:05 · 541 阅读 · 0 评论 -
Vue.js通过设置cookie在跳转路由后只刷新一次
实现在主页加入新班级后,到班级页面只刷新一次,让更新的用户token被读取到。pages/index.vue 主页pages/course/index.vue 班级页面原创 2021-04-20 20:27:42 · 370 阅读 · 0 评论 -
publish.vue?02fe:77 Uncaught (in promise) TypeError: _api_edu_course__WEBPACK_IMPORTED_MODULE_0__.de
前端Vue点击事件后没反应,数据库数据未更新,后端未报错,然后发现控制台报错如下:Uncaught (in promise) TypeError:api_edu_course__WEBPACK_IMPORTED_MODULE_0_.default.publishCourse is not a functionat publish.vue?02fe:77 (anonymous) @ publish.vue?02fe:77解决方案:点进报错代码片段后:发现是调用的函数名和定义的函数名不一原创 2021-04-15 20:05:59 · 1245 阅读 · 0 评论 -
Vue-ElementUI el-table表格中根据后端获取的0、1、2显式对应性别中文(未知、男、女)
Data接受后端传来的List数据:el-table将list数据单向绑定表格中性别字段显式:显示效果:原创 2021-04-09 16:17:33 · 4658 阅读 · 0 评论