|
@@ -61,12 +61,14 @@
|
|
|
<q-card-section>
|
|
|
<div style="width: 100vw" class="row justify-center">
|
|
|
<div class="col-8">
|
|
|
- <q-input
|
|
|
+ <!-- <q-input
|
|
|
outlined
|
|
|
class="col-8"
|
|
|
label="头图URL"
|
|
|
v-model="destinationProfileImage"
|
|
|
- />
|
|
|
+ /> -->
|
|
|
+ <q-btn label="头图URL" color="primary" @click="insertImg()" />
|
|
|
+ 头图URL: {{ destinationProfileImage }}
|
|
|
</div>
|
|
|
<div class="col-8">
|
|
|
<img
|
|
@@ -384,10 +386,7 @@ export default {
|
|
|
.then((response) => {
|
|
|
this.showNotifyMessageSucceed("成功插入图片");
|
|
|
this.imageUploadBox = false;
|
|
|
- this.$refs.destinationDialogEditor.runCmd(
|
|
|
- "insertImage",
|
|
|
- response.data.data
|
|
|
- );
|
|
|
+ this.destinationProfileImage = response.data.data;
|
|
|
return { imageId: "somefake", imageUrl: response.data.data };
|
|
|
})
|
|
|
.catch((e) => {
|