函数封装: /** * 获取当前时间 * 格式YYYY-MM-DD */ Vue.prototype.getNowFormatDate = function() { var date = new Date(); var seperator1 = "-"; var year = date.getFullYear(); var month = date.getMonth() + 1; var strDate = date.getDate(); if (month >= 1 &
环境:Oracle 10g,11g 问题重现:PL/SQL中命令窗口下,发现存储过程得到的时间格式不符合预期要求. SQL> select sysdate from dual; SYSDATE ----------- Executed seconds SQL> set serveroutput on SQL> declare pro_date date; begin select sysdate into pro_date from dual; dbms_output.put_line(
Html: <li><a href="#" v-on:click="typeStyle">萨克斯萨克<span></span></a></li> Js: typeStyle: function (e) { var el = e.target; el.style.backgroundColor = 'green'; $(el).css("border","1px so