Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

27.html:306 Uncaught ReferenceError: skuKeys is not defined #10

Open
fuwenshi opened this issue Nov 16, 2020 · 1 comment
Open

27.html:306 Uncaught ReferenceError: skuKeys is not defined #10

fuwenshi opened this issue Nov 16, 2020 · 1 comment

Comments

@fuwenshi
Copy link

27.html:306 Uncaught ReferenceError: skuKeys is not defined
at HTMLDocument. (27.html:306)
at c (jquery-1.10.2.min.js:4)
at Object.fireWith [as resolveWith] (jquery-1.10.2.min.js:4)
at Function.ready (jquery-1.10.2.min.js:4)
at HTMLDocument.q (jquery-1.10.2.min.js:4)

299
300 $('.spec-table-tbody').on('change', '.spec-input', function () {
301 var $this = $(this);
302 var key = $this.attr('name');
303 specInputValues[key] = $this.val();
304 });
305
306 $.each(skuKeys, function (i, specKey) {
307 console.log(specKey);
308 $.each(specKey.split(';'), function (i, key) {
309 console.log(key);
310 console.log($('#checkbox-attr-' + key.replace(':', '-')).length);
311 $('#checkbox-attr-' + key.replace(':', '-')).prop('checked', true);
312 });
313 });

@fuwenshi
Copy link
Author

这是没有开发完商品属性这里吧@ALL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant