修复watch引起的死循环bug