no message
This commit is contained in:
parent
8e8243d168
commit
b5ce5fcaa6
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -1,4 +1,4 @@
|
|||||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/favicon.ico"><title>X-PHP</title><script>document.write("<script src='config.js'><\/script>");</script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/echarts.49558cc4.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/elicons.4bccae06.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/modules.af2834df.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/app.cb413cdf.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/modules.34563575.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/app.4c506a3e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but X-PHP doesn't work properly without JavaScript enabled.</strong></noscript><div id="app" class="aminui"><div class="app-loading"><div class="app-loading__logo"></div><div class="app-loading__loader"></div></div></div></body><div id="versionCheck" class="versionCheck"><h2>当前浏览器内核版本过低</h2><p>当前版本:<span id="versionCheck-type">--</span> <span id="versionCheck-version">--</span></p><p>最低版本要求:Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。</p><p>请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。</p></div><style>.app-loading {
|
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/favicon.ico"><title>X-PHP</title><script>document.write("<script src='config.js'><\/script>");</script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/echarts.49558cc4.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/elicons.4bccae06.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/modules.af2834df.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/app.bd0ced34.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/modules.34563575.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/app.3051cbc3.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but X-PHP doesn't work properly without JavaScript enabled.</strong></noscript><div id="app" class="aminui"><div class="app-loading"><div class="app-loading__logo"></div><div class="app-loading__loader"></div></div></div></body><div id="versionCheck" class="versionCheck"><h2>当前浏览器内核版本过低</h2><p>当前版本:<span id="versionCheck-type">--</span> <span id="versionCheck-version">--</span></p><p>最低版本要求:Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。</p><p>请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。</p></div><style>.app-loading {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:0px;
|
top:0px;
|
||||||
left:0px;
|
left:0px;
|
||||||
|
4
dist/report.html
vendored
4
dist/report.html
vendored
File diff suppressed because one or more lines are too long
1
dist/static/css/app.3051cbc3.css
vendored
Normal file
1
dist/static/css/app.3051cbc3.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/css/app.4c506a3e.css
vendored
1
dist/static/css/app.4c506a3e.css
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/app.bd0ced34.js
vendored
Normal file
1
dist/static/js/app.bd0ced34.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/js/app.cb413cdf.js
vendored
1
dist/static/js/app.cb413cdf.js
vendored
File diff suppressed because one or more lines are too long
@ -17,7 +17,7 @@
|
|||||||
</el-image>
|
</el-image>
|
||||||
<div class="x-upload__img-actions" v-if="!disabled">
|
<div class="x-upload__img-actions" v-if="!disabled">
|
||||||
<span class="del" @click="handleRemove()"><el-icon><el-icon-delete /></el-icon></span>
|
<span class="del" @click="handleRemove()"><el-icon><el-icon-delete /></el-icon></span>
|
||||||
<el-upload v-if="replaceupload" style="display: flex;" class="uploader" ref="uploader" :auto-upload="cropper ? false : autoUpload" :disabled="disabled" :show-file-list="showFileList" :action="action" :name="name" :data="data" :accept="accept" :limit="1" :http-request="request" :on-change="change" :before-upload="before" :on-success="success" :on-error="error" :on-exceed="handleExceed">
|
<el-upload v-if="replaceupload && round" style="display: flex;" class="uploader" ref="uploader" :auto-upload="cropper ? false : autoUpload" :disabled="disabled" :show-file-list="showFileList" :action="action" :name="name" :data="data" :accept="accept" :limit="1" :http-request="request" :on-change="change" :before-upload="before" :on-success="success" :on-error="error" :on-exceed="handleExceed">
|
||||||
<slot>
|
<slot>
|
||||||
<span class="upload">
|
<span class="upload">
|
||||||
<el-icon>
|
<el-icon>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<div style="width: 100%;">
|
<div style="width: 100%;">
|
||||||
<div class="acea-row user-row">
|
<div class="acea-row user-row">
|
||||||
<div class="avatar mr15">
|
<div class="avatar mr15">
|
||||||
<x-upload v-if="avatarupload" :data=userPost v-model="user.avatar" ref="uploader" :api="avatarupload" width="68" height="68" icon="el-icon-UploadFilled" :onRemove="onRemove" class="xuavatar" round :cropper="true" title="" :replaceupload="true" :aspectRatio="1 / 1" style="border-radius: 8px" />
|
<x-upload v-if="avatarupload" round :data=userPost v-model="user.avatar" ref="uploader" :api="avatarupload" width="68" height="68" icon="el-icon-UploadFilled" :onRemove="onRemove" :cropper="true" title="" :replaceupload="true" :aspectRatio="1 / 1" style="border-radius: 8px" />
|
||||||
<el-avatar :size="68" v-else :src="user.avatar" style="border-radius: 10px"></el-avatar>
|
<el-avatar :size="68" v-else :src="user.avatar" style="border-radius: 10px"></el-avatar>
|
||||||
</div>
|
</div>
|
||||||
<div class="user-row-text">
|
<div class="user-row-text">
|
||||||
@ -81,17 +81,21 @@
|
|||||||
padding: 4px 0px;
|
padding: 4px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.xuavatar:deep(.x-upload__img) {
|
.avatar:deep(.x-upload__img) {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.xuavatar:deep(.x-upload__img-actions) span{
|
.avatar:deep(.x-upload__img-actions) span {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.avatar:deep(.el-upload--picture-card) {
|
||||||
|
border-radius: 0px !important
|
||||||
|
}
|
||||||
|
|
||||||
.mr15 {
|
.mr15 {
|
||||||
margin-right: 15px !important;
|
margin-right: 15px !important;
|
||||||
}
|
}
|
||||||
@ -215,7 +219,7 @@ export default {
|
|||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.$http.post('avatar/admin/delete', { token: this.token }).then((res) => {
|
this.$http.post('avatar/admin/delete', { token: this.token }).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.userData.avatar = '';
|
this.user.avatar = '';
|
||||||
this.$refs.uploader.clearFiles();
|
this.$refs.uploader.clearFiles();
|
||||||
this.$message.success(res.message || "操作成功")
|
this.$message.success(res.message || "操作成功")
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user