我可以检查元素并查看import random
def create_deck():
for i in range(10):
pip = random.choice(PIPS)
suit = random.choice(SUITS)
card = (pip, suit)
def deal_deck(DECK):
for pip in PIPS:
for suit in SUITS:
print(pip + suit,end=" ")
print()
CLUB = "\u2663"
HEART = "\u2665"
DIAMOND = "\u2666"
SPADE = "\u2660"
PIPS = ("A","2","3","4","5","6","7","8","9","10","J","Q","K")
SUITS = (CLUB, SPADE, DIAMOND, HEART)
DECK= []
create_deck
deal_deck(DECK)
,它看起来像type =" file"导致问题,当我删除它时,我可以刷新并看到输入框。我想知道这是否是角度2的问题,或者如果这是我如何引导我的应用程序的问题。在角度2的先前迭代中不存在此问题,它仅发生在"稳定版本的最后更新中。 。我可以发布我的组件,但除了我的选择器和HTML引用之外什么也没有。任何帮助表示,我指出正确的方向来调试这个!提前致谢
答案 0 :(得分:0)
在其他组件中嵌入了错误的样式。我有很多东西需要学习