@@ -1069,271 +1069,3 @@ exports[`BasicLayout > 🥩 contentStyle should change dom 1`] = `
1069
1069
</div >
1070
1070
</DocumentFragment >
1071
1071
` ;
1072
-
1073
- exports [` BasicLayout > 🥩 mix layout hideInMenu render right 1` ] = `
1074
- <body >
1075
- <div >
1076
- <div
1077
- class = " ant-design-pro ant-pro-layout screen-md ant-pro-layout-fix-siderbar ant-pro-layout-side"
1078
- >
1079
- <div
1080
- class = " ant-pro-layout-bg-list"
1081
- />
1082
- <div
1083
- class = " ant-layout ant-layout-has-sider"
1084
- style = " min-height: 100%; flex-direction: row;"
1085
- >
1086
- <div
1087
- style = " width: 256px; overflow: hidden; flex-grow: 0; flex-shrink: 0; flex-basis: 256px; max-width: 256px; min-width: 256px; transition: all 0.2s ease 0s;"
1088
- />
1089
- <aside
1090
- class = " ant-layout-sider ant-layout-sider-dark ant-pro-sider ant-pro-sider-fixed ant-pro-sider-layout-side ant-pro-sider-light"
1091
- style = " flex-grow: 0; flex-shrink: 0; flex-basis: 256px; max-width: 256px; min-width: 256px; width: 256px;"
1092
- >
1093
- <div
1094
- class = " ant-layout-sider-children"
1095
- >
1096
- <div
1097
- class = " ant-pro-sider-logo"
1098
- id = " logo"
1099
- >
1100
- <a >
1101
- <svg
1102
- height = " 1em"
1103
- viewBox = " 0 0 200 200"
1104
- width = " 1em"
1105
- >
1106
- <defs >
1107
- <lineargradient
1108
- id = " linearGradient-1"
1109
- x1 = " 62.1023273%"
1110
- x2 = " 108.19718%"
1111
- y1 = " 0%"
1112
- y2 = " 37.8635764%"
1113
- >
1114
- <stop
1115
- offset = " 0%"
1116
- stop-color = " #4285EB"
1117
- />
1118
- <stop
1119
- offset = " 100%"
1120
- stop-color = " #2EC7FF"
1121
- />
1122
- </lineargradient >
1123
- <lineargradient
1124
- id = " linearGradient-2"
1125
- x1 = " 69.644116%"
1126
- x2 = " 54.0428975%"
1127
- y1 = " 0%"
1128
- y2 = " 108.456714%"
1129
- >
1130
- <stop
1131
- offset = " 0%"
1132
- stop-color = " #29CDFF"
1133
- />
1134
- <stop
1135
- offset = " 37.8600687%"
1136
- stop-color = " #148EFF"
1137
- />
1138
- <stop
1139
- offset = " 100%"
1140
- stop-color = " #0A60FF"
1141
- />
1142
- </lineargradient >
1143
- <lineargradient
1144
- id = " linearGradient-3"
1145
- x1 = " 69.6908165%"
1146
- x2 = " 16.7228981%"
1147
- y1 = " -12.9743587%"
1148
- y2 = " 117.391248%"
1149
- >
1150
- <stop
1151
- offset = " 0%"
1152
- stop-color = " #FA816E"
1153
- />
1154
- <stop
1155
- offset = " 41.472606%"
1156
- stop-color = " #F74A5C"
1157
- />
1158
- <stop
1159
- offset = " 100%"
1160
- stop-color = " #F51D2C"
1161
- />
1162
- </lineargradient >
1163
- <lineargradient
1164
- id = " linearGradient-4"
1165
- x1 = " 68.1279872%"
1166
- x2 = " 30.4400914%"
1167
- y1 = " -35.6905737%"
1168
- y2 = " 114.942679%"
1169
- >
1170
- <stop
1171
- offset = " 0%"
1172
- stop-color = " #FA8E7D"
1173
- />
1174
- <stop
1175
- offset = " 51.2635191%"
1176
- stop-color = " #F74A5C"
1177
- />
1178
- <stop
1179
- offset = " 100%"
1180
- stop-color = " #F51D2C"
1181
- />
1182
- </lineargradient >
1183
- </defs >
1184
- <g
1185
- fill = " none"
1186
- fill-rule = " evenodd"
1187
- stroke = " none"
1188
- stroke-width = " 1"
1189
- >
1190
- <g
1191
- transform = " translate(-20.000000, -20.000000)"
1192
- >
1193
- <g
1194
- transform = " translate(20.000000, 20.000000)"
1195
- >
1196
- <g >
1197
- <g
1198
- fill-rule = " nonzero"
1199
- >
1200
- <g >
1201
- <path
1202
- d = " M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C99.2571609,26.9692191 101.032305,26.9692191 102.20193,28.1378823 L129.985225,55.8983314 C134.193707,60.1033528 141.017005,60.1033528 145.225487,55.8983314 C149.433969,51.69331 149.433969,44.8756232 145.225487,40.6706018 L108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z"
1203
- fill = " url(#linearGradient-1)"
1204
- />
1205
- <path
1206
- d = " M91.5880863,4.17652823 L4.17996544,91.5127728 C-0.519240605,96.2081146 -0.519240605,103.791885 4.17996544,108.487227 L91.5880863,195.823472 C96.2872923,200.518814 103.877304,200.518814 108.57651,195.823472 L145.225487,159.204632 C149.433969,154.999611 149.433969,148.181924 145.225487,143.976903 C141.017005,139.771881 134.193707,139.771881 129.985225,143.976903 L102.20193,171.737352 C101.032305,172.906015 99.2571609,172.906015 98.0875359,171.737352 L28.285908,101.993122 C27.1162831,100.824459 27.1162831,99.050775 28.285908,97.8821118 L98.0875359,28.1378823 C100.999864,25.6271836 105.751642,20.541824 112.729652,19.3524487 C117.915585,18.4685261 123.585219,20.4140239 129.738554,25.1889424 C125.624663,21.0784292 118.571995,14.0340304 108.58055,4.05574592 C103.862049,-0.537986846 96.2692618,-0.500797906 91.5880863,4.17652823 Z"
1207
- fill = " url(#linearGradient-2)"
1208
- />
1209
- </g >
1210
- <path
1211
- d = " M153.685633,135.854579 C157.894115,140.0596 164.717412,140.0596 168.925894,135.854579 L195.959977,108.842726 C200.659183,104.147384 200.659183,96.5636133 195.960527,91.8688194 L168.690777,64.7181159 C164.472332,60.5180858 157.646868,60.5241425 153.435895,64.7316526 C149.227413,68.936674 149.227413,75.7543607 153.435895,79.9593821 L171.854035,98.3623765 C173.02366,99.5310396 173.02366,101.304724 171.854035,102.473387 L153.685633,120.626849 C149.47715,124.83187 149.47715,131.649557 153.685633,135.854579 Z"
1212
- fill = " url(#linearGradient-3)"
1213
- />
1214
- </g >
1215
- <ellipse
1216
- cx = " 100.519339"
1217
- cy = " 100.436681"
1218
- fill = " url(#linearGradient-4)"
1219
- rx = " 23.6001926"
1220
- ry = " 23.580786"
1221
- />
1222
- </g >
1223
- </g >
1224
- </g >
1225
- </g >
1226
- </svg >
1227
- <h1 >
1228
- Ant Design Pro
1229
- </h1 >
1230
- </a >
1231
- </div >
1232
- <div
1233
- style = " flex-grow: 1; flex-shrink: 1; flex-basis: 0%; overflow-y: auto; overflow-x: hidden;"
1234
- >
1235
- <ul
1236
- class = " ant-menu ant-menu-root ant-menu-inline ant-menu-light ant-pro-sider-menu ant-pro-base-menu-inline"
1237
- data-menu-list = " true"
1238
- role = " menu"
1239
- style = " background-color: transparent; border: none none; width: 100%;"
1240
- tabindex = " 0"
1241
- >
1242
- <li
1243
- class = " ant-menu-submenu ant-menu-submenu-inline ant-pro-base-menu-inline-submenu"
1244
- role = " none"
1245
- >
1246
- <div
1247
- aria-controls = " rc-menu-uuid-84044-9-/admin-popup"
1248
- aria-expanded = " false"
1249
- aria-haspopup = " true"
1250
- class = " ant-menu-submenu-title"
1251
- data-menu-id = " rc-menu-uuid-84044-9-/admin"
1252
- role = " menuitem"
1253
- style = " padding-left: 16px;"
1254
- tabindex = " -1"
1255
- >
1256
- <span
1257
- class = " ant-menu-title-content"
1258
- >
1259
- <div
1260
- class = " ant-pro-base-menu-inline-item-title"
1261
- >
1262
- <span
1263
- class = " ant-pro-base-menu-inline-item-text"
1264
- >
1265
- 管理页
1266
- </span >
1267
- </div >
1268
- </span >
1269
- <i
1270
- class = " ant-menu-submenu-arrow"
1271
- />
1272
- </div >
1273
- </li >
1274
- <li
1275
- class = " ant-menu-item ant-menu-item-only-child ant-pro-base-menu-inline-menu-item"
1276
- data-menu-id = " rc-menu-uuid-84044-9-/list"
1277
- role = " menuitem"
1278
- style = " padding-left: 16px;"
1279
- tabindex = " -1"
1280
- >
1281
- <span
1282
- class = " ant-menu-title-content"
1283
- >
1284
- <div
1285
- aria-describedby = " :r60:"
1286
- class = " ant-pro-base-menu-inline-item-title"
1287
- >
1288
- <span
1289
- class = " ant-pro-base-menu-inline-item-icon"
1290
- style = " display: none;"
1291
- >
1292
- <span
1293
- class = " anticon"
1294
- />
1295
- </span >
1296
- <span
1297
- class = " ant-pro-base-menu-inline-item-text"
1298
- >
1299
- 列表页
1300
- </span >
1301
- </div >
1302
- </span >
1303
- </li >
1304
- </ul >
1305
- <div
1306
- aria-hidden = " true"
1307
- style = " display: none;"
1308
- />
1309
- </div >
1310
- <div
1311
- class = " ant-pro-sider-collapsed-button"
1312
- >
1313
- <svg
1314
- aria-hidden = " true"
1315
- fill = " currentColor"
1316
- height = " 1em"
1317
- viewBox = " 0 0 12 12"
1318
- width = " 1em"
1319
- >
1320
- <path
1321
- d = " M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"
1322
- />
1323
- </svg >
1324
- </div >
1325
- </div >
1326
- </aside >
1327
- <div
1328
- class = " ant-pro-layout-container"
1329
- style = " position: relative;"
1330
- >
1331
- <main
1332
- class = " ant-layout-content ant-pro-layout-content ant-pro-layout-has-header"
1333
- />
1334
- </div >
1335
- </div >
1336
- </div >
1337
- </div >
1338
- </body >
1339
- ` ;
0 commit comments