Commit c46b0feb by 陆志强

Merge branch 'feature/routeId' into dev

parents 97a016c2 08c93697
......@@ -2,6 +2,20 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.9.0](https://gitlab.aodianyun.com/live/web-radio/compare/v1.8.0...v1.9.0) (2024-12-26)
### Features
* 修复创建 ([3aee4f2](https://gitlab.aodianyun.com/live/web-radio/commit/3aee4f2ef36a681e671d2299e15e287101357f01))
* 修复问题 ([4312bc0](https://gitlab.aodianyun.com/live/web-radio/commit/4312bc0227d71da687293f3bcf181c9db85ef164))
* 修复页面标题 ([de6f3a9](https://gitlab.aodianyun.com/live/web-radio/commit/de6f3a94e041750ae087a685531ceba9374e6690))
* 修复页面整体滚动 ([5dc91a4](https://gitlab.aodianyun.com/live/web-radio/commit/5dc91a4f377f1fb05b501b60fe30f392125d2531))
* 修复移动端页面缩放问题 ([f1eaf49](https://gitlab.aodianyun.com/live/web-radio/commit/f1eaf4976612a00d4e8e4e7a026b55c2febb5b55))
* 修复cname登录&鸿蒙ua判断 ([773bd41](https://gitlab.aodianyun.com/live/web-radio/commit/773bd416dd543e2d3582f7738d099f134c3117b0))
* 修复dms连接 ([1e16c22](https://gitlab.aodianyun.com/live/web-radio/commit/1e16c227e759a3de26bc7fde7c267a345b859fb6))
* 一些优化 ([5b2d766](https://gitlab.aodianyun.com/live/web-radio/commit/5b2d7660d1c58ca5da4465b4eb1ca6abe440cb81))
## [1.8.0](https://gitlab.aodianyun.com/live/web-radio/compare/v1.4.0...v1.8.0) (2024-07-19)
......
{
"name": "ssr-program-radio",
"version": "1.8.0",
"version": "1.9.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "ssr-program-radio",
"version": "1.8.0",
"version": "1.9.0",
"dependencies": {
"@gdyfe/config": "^1.5.9",
"@gdyfe/rop-client": "1.1.10",
{
"name": "ssr-program-radio",
"version": "1.8.0",
"version": "1.9.0",
"description": "C端电台直播",
"author": "1006903445@qq.com",
"private": true,
......
......@@ -8,7 +8,7 @@ Vue.use(VueRouter);
const routes = [
{
path: '/:id',
path: '/:id?',
name: 'index-id',
component: Index,
meta: {
......
......@@ -40,7 +40,6 @@ export default {
mixins: [DMS],
data() {
return {
id: this.$route.params.id,
timer: null,
isMobile: true,
};
......@@ -67,6 +66,9 @@ export default {
return this.channelInfo.name || "";
}
},
id() {
return Number(this.$route.params.id) || Number(this.$route.query.id)
}
},
watch: {
'channelInfo.uin'() {
......@@ -83,11 +85,11 @@ export default {
},
domTitle() {
document.title = this.domTitle
}
},
},
async created() {
// REPORT($sentry, { AppId: params.id, Uin: query.uin });
await this.$store.dispatch("get_control", { id: this.$route.params.id, uin: this.$route.query.uin });
await this.$store.dispatch("get_control", { id: this.id, uin: this.$route.query.uin });
},
async mounted() {
// if (this.status !== 200) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment