@@ -119,11 +119,15 @@ export default {
119
119
}
120
120
})
121
121
.catch (e => {
122
- this .$Notice .error ({
123
- title: e .response .data .name ,
124
- message: e .response .data .message ,
125
- duration: 10
126
- })
122
+ if (typeof (e .response .data ) === ' string' ) {
123
+ this .$Message .error (e .response .data )
124
+ } else {
125
+ this .$Notice .error ({
126
+ title: e .response .data .name ,
127
+ message: e .response .data .message ,
128
+ duration: 10
129
+ })
130
+ }
127
131
this .loading = false
128
132
})
129
133
} else {
@@ -210,136 +214,136 @@ export default {
210
214
}
211
215
.animate0 {
212
216
-webkit-animation-duration : .8s ;
213
- -webkit-animation-delay : 0s ;
214
- -webkit-animation-timing-function : ease ;
215
- -webkit-animation-fill-mode : both ;
216
- -moz-animation-duration : .8s ;
217
- -moz-animation-delay : 0s ;
218
- -moz-animation-timing-function : ease ;
219
- -moz-animation-fill-mode : both ;
220
- -ms-animation-duration : .8s ;
221
- -ms-animation-delay : 0s ;
222
- -ms-animation-timing-function : ease ;
223
- -ms-animation-fill-mode : both ;
224
- animation-duration : .8s ;
225
- animation-delay : 0s ;
226
- animation-timing-function : ease ;
227
- animation-fill-mode : both ;
228
- }
229
-
230
- .animate1 {
231
- -webkit-animation-duration : .8s ;
232
- -webkit-animation-delay : .2s ;
233
- -webkit-animation-timing-function : ease ;
234
- -webkit-animation-fill-mode : both ;
235
- -moz-animation-duration : .8s ;
236
- -moz-animation-delay : .2s ;
237
- -moz-animation-timing-function : ease ;
238
- -moz-animation-fill-mode : both ;
239
- -ms-animation-duration : .8s ;
240
- -ms-animation-delay : .2s ;
241
- -ms-animation-timing-function : ease ;
242
- -ms-animation-fill-mode : both ;
243
- animation-duration : .8s ;
244
- animation-delay : .2s ;
245
- animation-timing-function : ease ;
246
- animation-fill-mode : both ;
247
- }
217
+ -webkit-animation-delay : 0s ;
218
+ -webkit-animation-timing-function : ease ;
219
+ -webkit-animation-fill-mode : both ;
220
+ -moz-animation-duration : .8s ;
221
+ -moz-animation-delay : 0s ;
222
+ -moz-animation-timing-function : ease ;
223
+ -moz-animation-fill-mode : both ;
224
+ -ms-animation-duration : .8s ;
225
+ -ms-animation-delay : 0s ;
226
+ -ms-animation-timing-function : ease ;
227
+ -ms-animation-fill-mode : both ;
228
+ animation-duration : .8s ;
229
+ animation-delay : 0s ;
230
+ animation-timing-function : ease ;
231
+ animation-fill-mode : both ;
232
+ }
248
233
249
- .animate2 {
234
+ .animate1 {
250
235
-webkit-animation-duration : .8s ;
251
- -webkit-animation-delay : .4 s ;
252
- -webkit-animation-timing-function : ease ;
253
- -webkit-animation-fill-mode : both ;
254
- -moz-animation-duration : .8s ;
255
- -moz-animation-delay : .4 s ;
256
- -moz-animation-timing-function : ease ;
257
- -moz-animation-fill-mode : both ;
258
- -ms-animation-duration : .8s ;
259
- -ms-animation-delay : .4 s ;
260
- -ms-animation-timing-function : ease ;
261
- -ms-animation-fill-mode : both ;
262
- animation-duration : .8s ;
263
- animation-delay : .4 s ;
264
- animation-timing-function : ease ;
265
- animation-fill-mode : both ;
266
- }
236
+ -webkit-animation-delay : .2 s ;
237
+ -webkit-animation-timing-function : ease ;
238
+ -webkit-animation-fill-mode : both ;
239
+ -moz-animation-duration : .8s ;
240
+ -moz-animation-delay : .2 s ;
241
+ -moz-animation-timing-function : ease ;
242
+ -moz-animation-fill-mode : both ;
243
+ -ms-animation-duration : .8s ;
244
+ -ms-animation-delay : .2 s ;
245
+ -ms-animation-timing-function : ease ;
246
+ -ms-animation-fill-mode : both ;
247
+ animation-duration : .8s ;
248
+ animation-delay : .2 s ;
249
+ animation-timing-function : ease ;
250
+ animation-fill-mode : both ;
251
+ }
267
252
268
- .animate3 {
269
- -webkit-animation-duration : .8s ;
270
- -webkit-animation-delay : .6 s ;
271
- -webkit-animation-timing-function : ease ;
272
- -webkit-animation-fill-mode : both ;
273
- -moz-animation-duration : .8s ;
274
- -moz-animation-delay : .6 s ;
275
- -moz-animation-timing-function : ease ;
276
- -moz-animation-fill-mode : both ;
277
- -ms-animation-duration : .8s ;
278
- -ms-animation-delay : .6 s ;
279
- -ms-animation-timing-function : ease ;
280
- -ms-animation-fill-mode : both ;
281
- animation-duration : .8s ;
282
- animation-delay : .6 s ;
283
- animation-timing-function : ease ;
284
- animation-fill-mode : both ;
285
- }
253
+ .animate2 {
254
+ -webkit-animation-duration : .8s ;
255
+ -webkit-animation-delay : .4 s ;
256
+ -webkit-animation-timing-function : ease ;
257
+ -webkit-animation-fill-mode : both ;
258
+ -moz-animation-duration : .8s ;
259
+ -moz-animation-delay : .4 s ;
260
+ -moz-animation-timing-function : ease ;
261
+ -moz-animation-fill-mode : both ;
262
+ -ms-animation-duration : .8s ;
263
+ -ms-animation-delay : .4 s ;
264
+ -ms-animation-timing-function : ease ;
265
+ -ms-animation-fill-mode : both ;
266
+ animation-duration : .8s ;
267
+ animation-delay : .4 s ;
268
+ animation-timing-function : ease ;
269
+ animation-fill-mode : both ;
270
+ }
286
271
287
- .animate4 {
288
- -webkit-animation-duration : .8s ;
289
- -webkit-animation-delay : .8 s ;
290
- -webkit-animation-timing-function : ease ;
291
- -webkit-animation-fill-mode : both ;
292
- -moz-animation-duration : .8s ;
293
- -moz-animation-delay : .8 s ;
294
- -moz-animation-timing-function : ease ;
295
- -moz-animation-fill-mode : both ;
296
- -ms-animation-duration : .8s ;
297
- -ms-animation-delay : .8 s ;
298
- -ms-animation-timing-function : ease ;
299
- -ms-animation-fill-mode : both ;
300
- animation-duration : .8s ;
301
- animation-delay : .8 s ;
302
- animation-timing-function : ease ;
303
- animation-fill-mode : both ;
304
- }
272
+ .animate3 {
273
+ -webkit-animation-duration : .8s ;
274
+ -webkit-animation-delay : .6 s ;
275
+ -webkit-animation-timing-function : ease ;
276
+ -webkit-animation-fill-mode : both ;
277
+ -moz-animation-duration : .8s ;
278
+ -moz-animation-delay : .6 s ;
279
+ -moz-animation-timing-function : ease ;
280
+ -moz-animation-fill-mode : both ;
281
+ -ms-animation-duration : .8s ;
282
+ -ms-animation-delay : .6 s ;
283
+ -ms-animation-timing-function : ease ;
284
+ -ms-animation-fill-mode : both ;
285
+ animation-duration : .8s ;
286
+ animation-delay : .6 s ;
287
+ animation-timing-function : ease ;
288
+ animation-fill-mode : both ;
289
+ }
305
290
306
- .animate5 {
307
- -webkit-animation-duration : .8s ;
308
- -webkit-animation-delay : 1s ;
309
- -webkit-animation-timing-function : ease ;
310
- -webkit-animation-fill-mode : both ;
311
- -moz-animation-duration : .8s ;
312
- -moz-animation-delay : 1s ;
313
- -moz-animation-timing-function : ease ;
314
- -moz-animation-fill-mode : both ;
315
- -ms-animation-duration : .8s ;
316
- -ms-animation-delay : 1s ;
317
- -ms-animation-timing-function : ease ;
318
- -ms-animation-fill-mode : both ;
319
- animation-duration : .8s ;
320
- animation-delay : 1s ;
321
- animation-timing-function : ease ;
322
- animation-fill-mode : both ;
323
- }
324
- #particles-js {
325
- position : fixed ;
326
- top : 0 ;
327
- left : 0 ;
328
- width : 100% ;
329
- height : 100% ;
330
- }
291
+ .animate4 {
292
+ -webkit-animation-duration : .8s ;
293
+ -webkit-animation-delay : .8s ;
294
+ -webkit-animation-timing-function : ease ;
295
+ -webkit-animation-fill-mode : both ;
296
+ -moz-animation-duration : .8s ;
297
+ -moz-animation-delay : .8s ;
298
+ -moz-animation-timing-function : ease ;
299
+ -moz-animation-fill-mode : both ;
300
+ -ms-animation-duration : .8s ;
301
+ -ms-animation-delay : .8s ;
302
+ -ms-animation-timing-function : ease ;
303
+ -ms-animation-fill-mode : both ;
304
+ animation-duration : .8s ;
305
+ animation-delay : .8s ;
306
+ animation-timing-function : ease ;
307
+ animation-fill-mode : both ;
308
+ }
331
309
332
- .registerpanel .ivu-form-item-error-tip {
333
- display : block
334
- }
335
- .ivu-form-item-error-tip {
336
- position : relative !important ;
337
- top : 100% ;
310
+ .animate5 {
311
+ -webkit-animation-duration : .8s ;
312
+ -webkit-animation-delay : 1s ;
313
+ -webkit-animation-timing-function : ease ;
314
+ -webkit-animation-fill-mode : both ;
315
+ -moz-animation-duration : .8s ;
316
+ -moz-animation-delay : 1s ;
317
+ -moz-animation-timing-function : ease ;
318
+ -moz-animation-fill-mode : both ;
319
+ -ms-animation-duration : .8s ;
320
+ -ms-animation-delay : 1s ;
321
+ -ms-animation-timing-function : ease ;
322
+ -ms-animation-fill-mode : both ;
323
+ animation-duration : .8s ;
324
+ animation-delay : 1s ;
325
+ animation-timing-function : ease ;
326
+ animation-fill-mode : both ;
327
+ }
328
+ #particles-js {
329
+ position : fixed ;
330
+ top : 0 ;
338
331
left : 0 ;
339
- line-height : 1 ;
340
- padding-top : 0px ;
341
- margin-top :7px !important ;
342
- font-size :15px !important ;
343
- color : #ed3f14 ;
344
- }
332
+ width : 100% ;
333
+ height : 100% ;
334
+ }
335
+
336
+ .registerpanel .ivu-form-item-error-tip {
337
+ display : block
338
+ }
339
+ .ivu-form-item-error-tip {
340
+ position : relative !important ;
341
+ top : 100% ;
342
+ left : 0 ;
343
+ line-height : 1 ;
344
+ padding-top : 0px ;
345
+ margin-top :7px !important ;
346
+ font-size :15px !important ;
347
+ color : #ed3f14 ;
348
+ }
345
349
</style >
0 commit comments