mirror of
https://gitee.com/log4j/pig-ui.git
synced 2025-01-03 23:42:23 +08:00
✨ Introducing new features. 修改账号接入增加复制链接
This commit is contained in:
parent
5daaafdd4d
commit
392b44264b
@ -38,8 +38,9 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {},
|
watch: {},
|
||||||
computed: {
|
computed: {
|
||||||
|
// eslint-disable-next-line vue/return-in-computed-property
|
||||||
text() {
|
text() {
|
||||||
if (this.num != undefined) {
|
if (this.num !== undefined) {
|
||||||
return `+${this.num}`;
|
return `+${this.num}`;
|
||||||
} else {
|
} else {
|
||||||
if (this.name) {
|
if (this.name) {
|
||||||
|
@ -70,13 +70,11 @@
|
|||||||
<form-dialog ref="formDialogRef" @refresh="getDataList(false)"/>
|
<form-dialog ref="formDialogRef" @refresh="getDataList(false)"/>
|
||||||
|
|
||||||
<el-dialog v-model="dialogFormVisible" title="接入">
|
<el-dialog v-model="dialogFormVisible" title="接入">
|
||||||
<el-row :gutter="20">
|
<el-input v-model="wxurl" readonly>
|
||||||
<el-col :span="6">服务器地址(URL)</el-col>
|
<template #append>
|
||||||
<el-col id="target" :span="12">{{ wxurl }}</el-col>
|
<el-button @click="copyText(wxurl)">复制链接</el-button>
|
||||||
<el-col :span="6">
|
</template>
|
||||||
<el-button id="btn" type="primary" style="float: right;" @click="copyLink">点击复制</el-button>
|
</el-input>
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -86,7 +84,9 @@ import {BasicTableProps, useTable} from "/@/hooks/table";
|
|||||||
import {clearQuota, delObjs, fetchList, generateQr} from "/@/api/mp/wx-account";
|
import {clearQuota, delObjs, fetchList, generateQr} from "/@/api/mp/wx-account";
|
||||||
import {useMessage, useMessageBox} from "/@/hooks/message";
|
import {useMessage, useMessageBox} from "/@/hooks/message";
|
||||||
import {useI18n} from "vue-i18n";
|
import {useI18n} from "vue-i18n";
|
||||||
|
import commonFunction from '/@/utils/commonFunction';
|
||||||
|
|
||||||
|
const { copyText } = commonFunction();
|
||||||
// 引入组件
|
// 引入组件
|
||||||
const FormDialog = defineAsyncComponent(() => import('./form.vue'));
|
const FormDialog = defineAsyncComponent(() => import('./form.vue'));
|
||||||
const {t} = useI18n()
|
const {t} = useI18n()
|
||||||
|
Loading…
Reference in New Issue
Block a user