Authored by weiqingting

提交

... ... @@ -233,5 +233,5 @@ gulp.task('vue',["vue-gulp"], function (cb) {
});
});
gulp.task("default",["jquery","assets","sass","vue-gulp"]);
gulp.task('start', ["default", "static", "server","vue"]);//"vue"
\ No newline at end of file
gulp.task("default",["jquery","assets","sass"]);
gulp.task('start', ["default", "static", "server"]);//"vue"
\ No newline at end of file
... ...
... ... @@ -103,15 +103,15 @@ $('.dropdown-menu').on('mouseenter', function() {
$(this).hide();
});
$(document).on("click",".btn",function(){
var $this=$(this);
if(!$this.is(":file")){
$this.prop("disabled",true);
setTimeout(function(){
$this.prop("disabled",false)
},2000);
}
});
// $(document).on("click",".btn",function(){
// var $this=$(this);
// if(!$this.is(":file")){
// $this.prop("disabled",true);
// setTimeout(function(){
// $this.prop("disabled",false)
// },2000);
// }
// });
$(document).on("keyup change","input[type='number']",function(){
$(this).val($(this).val().replace(/[^0-9]/g, ''));
... ...