我正在尝试实现数据交换,但是没有用。检查控制台,我看到了:
from copy import deepcopy
a = [[1,0],[1],[0]]
b = [['A','B'],['C'],['D']]
c = deepcopy(b)
for idx1, (i1, j1) in enumerate(zip(a, b)):
for idx2, (i2, j2) in enumerate(zip(i1, j1)):
c[idx1][idx2] = j2 if i2 else ''
print(c)
[['A', ''], ['C'], ['']]
在我的Uncaught TypeError: Cannot read property 'Plugin' of undefined
文件和
foundation.interchange.min.js
on Uncaught TypeError: Cannot read property 'Foundation' of undefined
我的头上有
foundation.util.mediaQuery.min.js
在我的HTML中:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.5.0-rc.1/js/foundation.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.5.0-rc.1/js/plugins/foundation.interchange.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.5.0-rc.1/js/plugins/foundation.util.mediaQuery.min.js"></script>
<script src="https://www.google.com/recaptcha/api.js"></script>
有人会知道怎么回事吗,我该如何解决?我想念另一个图书馆吗?