更新引导程序日期选择器版本更新时,Angularjs $ digest问题

时间:2019-02-05 07:12:53

标签: angularjs bootstrap-datepicker

我在我的项目中使用Angularjs v1.6.6。目前,即时通讯使用v1.6.4以下的bootstrap data-piker。很好当我要更新引导日期选择器v1.6.4时,项目正在获取控制台错误和日期选择器,无法正常工作。我使用gulp将所有Java脚本文件连接到vendor.js。我能知道如何解决此问题。

这是控制台错误。

vendor.js:137错误:[$ rootScope:infdig] http://errors.angularjs.org/1.7.5/ $ rootScope / infdig?p0 = 10&p1 =%5B%5B%7B%22msg%22%3A%22fn%3A%20function(b )%7Bb%3Da。%24%24ngModelGet(b)%3Bb%3D%3D%3Da。%24modelValue%7C%7Ca。%24modelValue!%3D%3Da。%24modelValue%26%26b!%3D%3Db​​%7C %7Ca。%24%24setModelValue(b)%3B%5Cnreturn%20b%7D%22%2C%22newVal%22%3A%222022-04-05T18%3A30%3A00.000Z%22%2C%22oldVal%22%3A %222022-04-05T18%3A30%3A00.000Z%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function(b)%7Bb%3Da。%24%24ngModelGet(b)%3Bb% 3D%3D%3Da。%24modelValue%7C%7Ca。%24modelValue!%3D%3Da。%24modelValue%26%26b!%3D%3Db​​%7C%7Ca。%24%24setModelValue(b)%3B%5Cnreturn%20b %7D%22%2C%22newVal%22%3A%222022-06-03T18%3A30%3A00.000Z%22%2C%22oldVal%22%3A%222022-06-03T18%3A30%3A00.000Z%22%7D %5D%2C%5B%7B%22msg%22%3A%22fn%3A%20function(b)%7Bb%3Da。%24%24ngModelGet(b)%3Bb%3D%3D%3Da。%24modelValue%7C%7Ca 。%24modelValue!%3D%3Da。%24modelValue%26%26b!%3D%3Db​​%7C%7Ca。%24%24setModelValue(b)%3B%5Cnreturn%20b%7D%22%2C%22newVal%22%3A %222022-04-05T18%3A30%3A00.000Z%22%2C%22oldVal%22%3A%222022-04 -05T18%3A30%3A00.000Z%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function(b)%7Bb%3Da。%24%24ngModelGet(b)%3Bb%3D%3D% 3Da。%24modelValue%7C%7Ca。%24modelValue!%3D%3Da。%24modelValue%26%26b!%3D%3Db​​%7C%7Ca。%24%24setModelValue(b)%3B%5Cnreturn%20b%7D%22 %2C%22newVal%22%3A%222022-06-03T18%3A30%3A00.000Z%22%2C%22oldVal%22%3A%222022-06-03T18%3A30%3A00.000Z%22%7D%5D%2C %5B%7B%22msg%22%3A%22fn%3A%20function(b)%7Bb%3Da。%24%24ngModelGet(b)%3Bb%3D%3D%3D%3Da。%24modelValue%7C%7Ca。%24modelValue! %3D%3Da。%24modelValue%26%26b!%3D%3Db​​%7C%7Ca。%24%24setModelValue(b)%3B%5Cnturn%20b%7D%22%2C%22newVal%22%3A%222022-04 -05T18%3A30%3A00.000Z%22%2C%22oldVal%22%3A%222022-04-05T18%3A30%3A00.000Z%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function (b)%7Bb%3Da。%24%24ngModelGet(b)%3Bb%3D%3D%3Da。%24modelValue%7C%7Ca。%24modelValue!%3D%3Da。%24modelValue%26%26b!%3D%3Db %7C%7Ca。%24%24setModelValue(b)%3B%5Cnreturn%20b%7D%22%2C%22newVal%22%3A%222022-06-03T18%3A30%3A00.000Z%22%2C%22oldVal%22 %3A%222022-06-03T18%3A30%3A00.000Z%22%7D%5D%2C%5B%7B%22msg%22%3A% 22fn%3A%20function(b)%7Bb%3Da。%24%24ngModelGet(b)%3Bb%3D%3D%3Da。%24modelValue%7C%7Ca。%24modelValue!%3D%3Da。%24modelValue%26%26b !%3D%3Db​​%7C%7Ca。%24%24setModelValue(b)%3B%5Cnreturn%20b%7D%22%2C%22newVal%22%3A%222022-04-05T18%3A30%3A00.000Z%22% 2C%22oldVal%22%3A%222022-04-05T18%3A30%3A00.000Z%22%7D%2C%7B%22msg%22%3A%22fn%3A%20function(b)%7Bb%3Da。%24% 24ngModelGet(b)%3Bb%3D%3D%3Da。%24modelValue%7C%7Ca。%24modelValue!%3D%3Da。%24modelValue%26%26b!%3D%3Db​​%7C%7Ca。%24%24setModelValue(b )%3B%5Cnreturn%20b%7D%22%2C%22newVal%22%3A%222022-06-03T18%3A30%3A00.000Z%22%2C%22oldVal%22%3A%222022-06-03T18%3A30% 3A00.000Z%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20function(b)%7Bb%3Da。%24%24ngModelGet(b)%3Bb%3D%3D%3Da 。%24modelValue%7C%7Ca。%24modelValue!%3D%3Da。%24modelValue%26%26b!%3D%3Db​​%7C%7Ca。%24%24setModelValue(b)%3B%5Cnreturn%20b%7D%22% 2C%22newVal%22%3A%222022-04-05T18%3A30%3A00.000Z%22%2C%22oldVal%22%3A%222022-04-05T18%3A30%3A00.000Z%22%7D%2C%7B% 22msg%22%3A%22fn%3A%20function(b)%7Bb%3Da。%24%24ngModelGet(b)%3B b%3D%3D%3Da。%24modelValue%7C%7Ca。%24modelValue!%3D%3Da。%24modelValue%26%26b!%3D%3Db​​%7C%7Ca。%24%24setModelValue(b)%3B%5Cnreturn %20b%7D%22%2C%22newVal%22%3A%222022-06-03T18%3A30%3A00.000Z%22%2C%22oldVal%22%3A%222022-06-03T18%3A30%3A00.000Z%22 %7D%5D%5D

0 个答案:

没有答案