删除日志
This commit is contained in:
@@ -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('上传成功');
|
||||||
|
@@ -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('上传成功');
|
||||||
|
Reference in New Issue
Block a user