REVIEW 公众号的消息回复弹窗

This commit is contained in:
YunaiV 2023-04-19 19:16:14 +08:00
parent 48e50190e0
commit 7997614a3c
6 changed files with 2 additions and 8 deletions

View File

@ -60,7 +60,6 @@ import { MaterialType, useBeforeUpload } from '@/views/mp/hooks/useUpload'
import type { UploadRawFile } from 'element-plus' import type { UploadRawFile } from 'element-plus'
import { getAccessToken } from '@/utils/auth' import { getAccessToken } from '@/utils/auth'
import { ObjData } from './types' import { ObjData } from './types'
const message = useMessage() const message = useMessage()
const UPLOAD_URL = import.meta.env.VITE_API_BASEPATH + '/admin-api/mp/material/upload-temporary' const UPLOAD_URL = import.meta.env.VITE_API_BASEPATH + '/admin-api/mp/material/upload-temporary'

View File

@ -117,5 +117,3 @@ const selectMaterial = (item: any) => {
objData.value.thumbMediaUrl = item.url objData.value.thumbMediaUrl = item.url
} }
</script> </script>
<style scoped></style>

View File

@ -18,7 +18,7 @@
<el-col :span="24"> <el-col :span="24">
<el-button type="success" @click="showDialog = true"> <el-button type="success" @click="showDialog = true">
{{ newsType === NewsType.Published ? '选择已发布图文' : '选择草稿箱图文' }} {{ newsType === NewsType.Published ? '选择已发布图文' : '选择草稿箱图文' }}
<icon icon="ep:circle-check" /> <Icon icon="ep:circle-check" />
</el-button> </el-button>
</el-col> </el-col>
</el-row> </el-row>

View File

@ -25,5 +25,3 @@ const content = computed<string | null>({
} }
}) })
</script> </script>
<style scoped></style>

View File

@ -51,7 +51,6 @@
</el-row> </el-row>
</el-tab-pane> </el-tab-pane>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import WxMaterialSelect from '@/views/mp/components/wx-material-select/main.vue' import WxMaterialSelect from '@/views/mp/components/wx-material-select/main.vue'
import WxVoicePlayer from '@/views/mp/components/wx-voice-play/main.vue' import WxVoicePlayer from '@/views/mp/components/wx-voice-play/main.vue'
@ -59,7 +58,6 @@ import { MaterialType, useBeforeUpload } from '@/views/mp/hooks/useUpload'
import type { UploadRawFile } from 'element-plus' import type { UploadRawFile } from 'element-plus'
import { getAccessToken } from '@/utils/auth' import { getAccessToken } from '@/utils/auth'
import { ObjData } from './types' import { ObjData } from './types'
const message = useMessage() const message = useMessage()
const UPLOAD_URL = import.meta.env.VITE_API_BASEPATH + '/admin-api/mp/material/upload-temporary' const UPLOAD_URL = import.meta.env.VITE_API_BASEPATH + '/admin-api/mp/material/upload-temporary'

View File

@ -42,6 +42,7 @@ const props = withDefaults(defineProps<Props>(), {
}) })
const objData = reactive(props.objData) const objData = reactive(props.objData)
// TODO @Dhb52Tab 12 TabXXX Form objData MusicMessageFormImageMessageForm
// const tempObj = new Map().set(objData.type, Object.assign({}, objData)) // const tempObj = new Map().set(objData.type, Object.assign({}, objData))
/** 切换消息类型的 tab */ /** 切换消息类型的 tab */