摘要:
今天周末,趁着没事,自学了一下vue-router,对于vue的路由跳转,目前我遇到了router-link和this.$router.push(或者this.$router.replace)这种方式跳转,其实这两种跳转都是相同的跳转,前者是声明式跳转,后者是编程式跳转。 1. 例如声明式路由跳转 阅读全文
摘要:
当校验时,不需要校验#warnId,否则会引起输入框#alarmtile里的样式混乱 阅读全文
摘要:
bootstrap modal 里面使用datetimepicker时间控件,滚动时,时间控件并不会隐藏,这是一个小bug,在组里改下,当滚动条滚动时,直接隐藏这个时间控件,$("#alarmDialog").scroll(function(){})或者$("#alarmFileForm").scr 阅读全文
摘要:
text-align属性只能在内联元素<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style> .box { padding: 10px; background-color 阅读全文