記錄折磨我的第1個bug

2021-10-24 16:58:46 字數 475 閱讀 9649

這是income.vue頁面的正規表示式部分

for (var i = 0; i < that.arr.length; i++)  else 

if (that.arr[i].type) else

that.max += that.momo - 0;

that.b = that.arr[i].create_time

this.$moment.locale('zh-cn')

that.titi = this.$moment(that.b).format('mm月 dd日 hh:mm')

that.$set(that.list, i, )

}

然後我就嘗試把income.vue頁面的正規表示式部分刪除再重新打包就可以了

問題:解決方案:

把跳轉不了的那個頁面的正規表示式刪了

人生中第1個bug!已解決

學習到js模式中的中介者模式,模式中介紹做乙個按鍵小遊戲,但是fromcharcode來返回按鍵值 呼叫onkeyup 會返回0 用onkeypress的話 按住不放也會一直記錄成績 導致遊戲失去意義。科普一下 charcode 屬性返回onkeypress事件觸發鍵值的字母 unicode 字元 ...

記錄乙個bug的解法

add by duanyf 20121105 start int index 0 string str index null int pic index 0 string type utils.ensurenotnull intent.gettype log.d tag,uri is uri if ...

記錄乙個難找的bug

這個bug沒有崩潰點,程式死掉了。qtcreator 和vs用除錯的方法都定位不到。最後通過注釋 的方式,一步步定位到的。m pmediaplayer new qmediaplayer this m playlist.addmedia qurl fromlocalfile t musicfilepa...