删除日志
This commit is contained in:
@@ -211,9 +211,7 @@ export default {
|
||||
uploadIcon() {
|
||||
let $this = this;
|
||||
$('#iconUploadBtn').click(function () {
|
||||
console.log('iconUploadBtn');
|
||||
uploadFile('iconFile').then(res => {
|
||||
console.log(res);
|
||||
if (res.path) {
|
||||
$this.resource.icon = res.path;
|
||||
$('#iconUploadInfo').val('上传成功');
|
||||
@@ -224,9 +222,7 @@ export default {
|
||||
uploadUrl() {
|
||||
let $this = this;
|
||||
$('#urlUploadBtn').click(function () {
|
||||
console.log('urlUploadBtn');
|
||||
uploadFile('urlFile').then(res => {
|
||||
console.log(res);
|
||||
if (res.path) {
|
||||
$this.resource.url = res.path;
|
||||
$('#urlUploadInfo').val('上传成功');
|
||||
|
@@ -176,9 +176,7 @@ export default {
|
||||
uploadUrl() {
|
||||
let $this = this;
|
||||
$('#urlUploadBtn').click(function () {
|
||||
console.log('urlUploadBtn');
|
||||
uploadFile('urlFile').then(res => {
|
||||
console.log(res);
|
||||
if (res.path) {
|
||||
$this.resource.url = res.path;
|
||||
$('#urlUploadInfo').val('上传成功');
|
||||
|
Reference in New Issue
Block a user