Authored by htoooth

fix error

<template>
<div class="header">
<div class="back" @touchend="onBack"></div>
<div class="back-wrapper" @touchend="onBack">
<div class="back"></div>
</div>
</div>
</template>
... ... @@ -19,12 +21,17 @@ export default {
.header {
width: 100%;
height: 45PX;
display: flex;
padding-left: 20PX;
padding-right: 20PX;
align-items: center;
background-color: #fff;
.back-wrapper {
display: flex;
align-items: center;
height: 100%;
width: 60PX;
}
.back {
width: 24PX;
height: 24PX;
... ...
... ... @@ -94,6 +94,10 @@ export default {
/deep/ .cube-upload-btn-def {
background-color: #eee;
}
/deep/ .cube-upload-file-status {
font-size: 30px !important;
}
}
</style>
... ...
... ... @@ -138,7 +138,8 @@ export default {
}).show();
const result = await this.saveLicense(this.model);
await this.sleep(2000);
await this.sleep(1000);
this.toast && this.toast.hide();
... ... @@ -171,11 +172,11 @@ export default {
return [
'footer',
{
active: this.validate2
active: this.inNotEmpty
}
];
},
validate2() {
inNotEmpty() {
return this.model.businessName &&
this.model.socialCreditCode &&
this.model.certName &&
... ... @@ -187,7 +188,7 @@ export default {
(this.model.time.noLimit ? this.model.time.start_time : this.model.time.start_time && this.model.time.expire_time);
}
},
async mounted() {
mounted() {
this.fetchToken();
},
components: {
... ...
... ... @@ -46,7 +46,7 @@ exports.createApp = async(app) => {
}
app.use((req, res, next) => {
req.isApmReport = _.get(req.app.locals, 'wap.open.bughd', false);
req.isApmReport = app.locals.proEnv;
next();
});
... ...