监控平台
1、时间处理
this.$changeDateTimes
自定义指令是如何定义和使用的?
2、联调接口的时候,怎么用本地数据来替换
queryReportFrom(data).then(response => {
不让他走请求
var response = {
"code": 0,
"msg": "ok",
"result": [
{
"deviceId": "866160035660922",
"ctime": "2018-05-31 10:02:50",
"devName": "ccccc",
"temp": "60",
"humd": "2"
},
{
"deviceId": "866160035660922",
"ctime": "2018-05-03 15:59:42",
"devName": "ccccc",
"temp": "61",
"humd": "2"
},
{
"deviceId": "866160035660922",
"ctime": "2018-05-31 10:11:41",
"devName": "ccccc",
"temp": "60",
"humd": "2"
}
]
}
3、导出的this方法,vue中哪些方法可以直接this?
项目中遇到的问题
最新推荐文章于 2021-11-03 17:02:35 发布