删除日志

This commit is contained in:
liaozetao
2023-11-20 12:35:32 +08:00
parent 0e3591c1f0
commit 20ea616755
2 changed files with 0 additions and 6 deletions

View File

@@ -211,9 +211,7 @@ export default {
uploadIcon() { uploadIcon() {
let $this = this; let $this = this;
$('#iconUploadBtn').click(function () { $('#iconUploadBtn').click(function () {
console.log('iconUploadBtn');
uploadFile('iconFile').then(res => { uploadFile('iconFile').then(res => {
console.log(res);
if (res.path) { if (res.path) {
$this.resource.icon = res.path; $this.resource.icon = res.path;
$('#iconUploadInfo').val('上传成功'); $('#iconUploadInfo').val('上传成功');
@@ -224,9 +222,7 @@ export default {
uploadUrl() { uploadUrl() {
let $this = this; let $this = this;
$('#urlUploadBtn').click(function () { $('#urlUploadBtn').click(function () {
console.log('urlUploadBtn');
uploadFile('urlFile').then(res => { uploadFile('urlFile').then(res => {
console.log(res);
if (res.path) { if (res.path) {
$this.resource.url = res.path; $this.resource.url = res.path;
$('#urlUploadInfo').val('上传成功'); $('#urlUploadInfo').val('上传成功');

View File

@@ -176,9 +176,7 @@ export default {
uploadUrl() { uploadUrl() {
let $this = this; let $this = this;
$('#urlUploadBtn').click(function () { $('#urlUploadBtn').click(function () {
console.log('urlUploadBtn');
uploadFile('urlFile').then(res => { uploadFile('urlFile').then(res => {
console.log(res);
if (res.path) { if (res.path) {
$this.resource.url = res.path; $this.resource.url = res.path;
$('#urlUploadInfo').val('上传成功'); $('#urlUploadInfo').val('上传成功');