20240205
luoJunYong.123 3 years ago
parent 382abdaacf
commit e725ccbd18
  1. 18
      src/components/checkPhoto/index.vue

@ -232,7 +232,6 @@ export default {
}, },
created() { created() {
// //
this.nowDate = (() => { this.nowDate = (() => {
const date = new Date() const date = new Date()
var y = date.getFullYear(); var y = date.getFullYear();
@ -246,23 +245,6 @@ export default {
methods: { methods: {
closeIt() { closeIt() {
this.$emit('update:showImg', false) this.$emit('update:showImg', false)
},
test() {
console.log('jinitaimei!')
},
debounce(fn,delay) {
let time= null; //
return function (){
let context = this,args = arguments;
if(time) { // time
clearTimeout(time)
// time
// time = null;
}
time = setTimeout(function (){
fn.apply(context,args);
},delay)
}
} }
}, },

Loading…
Cancel
Save