<script>
-
** 我想在这调用 isnan()函数。****
export default {
data() {
return {
title: 123
}
},
onLoad() {
this.isnan("123")
},
methods: {
isnan(o){
console.log("functions is runing")
return isNaN(o)
},
updatas(){
this.$data.title=Math.round(Math.random()100,2)
}
}
}
</script>
0 个回复