vue 中使用 watch 出现了如下的报错 报错: Method "watch" has type "object" in the component definition. Did you reference the function Method "watch" has type "object" in the component definition. Did you reference the function co
如果直接使用Element做时间选择器,其规则(rules)不添加type:'date',会提示类型错误,处理这个需要规范值的类型为date. 时间格式化过滤器 import Vue from 'vue' import service from './service.js' import onlineIcon from '@/assets/img/map/tsp_green.png' import unlineIcon from '@/assets/img/map/tsp_gray.png' i