File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,32 +107,32 @@ impl Component for MainModel {
107107 hidden: Label = ( & window) => { text: "HIDDEN" , visible: false } ,
108108 username: Label = ( & window) => {
109109 text: "用户:" ,
110- #[ cfg( feature = "win32" ) ]
110+ #[ cfg( all ( windows , feature = "win32" ) ) ]
111111 transparent: true ,
112112 } ,
113113 flux: Label = ( & window) => {
114114 text: "流量:" ,
115- #[ cfg( feature = "win32" ) ]
115+ #[ cfg( all ( windows , feature = "win32" ) ) ]
116116 transparent: true ,
117117 } ,
118118 online_time: Label = ( & window) => {
119119 text: "时长:" ,
120- #[ cfg( feature = "win32" ) ]
120+ #[ cfg( all ( windows , feature = "win32" ) ) ]
121121 transparent: true ,
122122 } ,
123123 balance: Label = ( & window) => {
124124 text: "余额:" ,
125- #[ cfg( feature = "win32" ) ]
125+ #[ cfg( all ( windows , feature = "win32" ) ) ]
126126 transparent: true ,
127127 } ,
128128 status: Label = ( & window) => {
129129 text: "网络:" ,
130- #[ cfg( feature = "win32" ) ]
130+ #[ cfg( all ( windows , feature = "win32" ) ) ]
131131 transparent: true ,
132132 } ,
133133 log: Label = ( & window) => {
134134 halign: HAlign :: Center ,
135- #[ cfg( feature = "win32" ) ]
135+ #[ cfg( all ( windows , feature = "win32" ) ) ]
136136 transparent: true ,
137137 } ,
138138 login_button: Button = ( & window) => { text: "登录" } ,
You can’t perform that action at this time.
0 commit comments