0

我使用 WCF 数据服务,当我尝试保存实体时,出现错误__stringStartsWith is undefined。它在第 215 行的文件微风.dataService.odata.js 中引发异常。

我已经在我的页面中包含了轻风.debug.js 和轻风.dataService.odata.js。该函数在微风.debug.js 中定义为全局函数,所以我想它应该被 dataService 适配器知道......我在这里遗漏了什么吗?

编辑

客户端: https ://www.dropbox.com/s/ed0o7ie1n88pnlw/reprobreezee_client.zip

服务: https ://www.dropbox.com/s/vnye10lcgg4h3iu/reprobreeze_service.zip

4

1 回答 1

1

在尝试插入记录时,我__stringStartsWithbreeze.dataService.odata.js文件中遇到了同样的问题。undefined

更改代码

if (__stringStartsWith(uri,prefix)) ...

if (core.stringStartsWith(uri, prefix)) ...
于 2013-10-16T18:31:18.117 回答