update detail
This commit is contained in:
1 parent
db1ee85cd2
commit
2e449feadb
2 files changed
+5
-10
No files matched your search
@@ -9,12 +9,7 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="18" class="main">
|
<el-col :span="18" class="main">
|
||||||
<!-- <episode-player :resource="episode?.resourceUrl" v-if="episode?.resourceUrl" :preview="episode?.thumbnail" /> -->
|
<episode-player :resource="episode?.resourceUrl" v-if="episode?.resourceUrl" :preview="episode?.thumbnail" />
|
||||||
<episode-player
|
|
||||||
resource="https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8"
|
|
||||||
v-if="episode?.resourceUrl"
|
|
||||||
:preview="episode?.thumbnail"
|
|
||||||
/>
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</template>
|
</template>
|
||||||
@@ -76,7 +71,6 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onChoose(episode: IEpisode) {
|
onChoose(episode: IEpisode) {
|
||||||
console.log('e', episode);
|
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
...this.$route,
|
...this.$route,
|
||||||
params: {
|
params: {
|
||||||
|
|||||||
+4
-3
@@ -1,7 +1,6 @@
|
|||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
import replace from '@rollup/plugin-replace';
|
import replace from '@rollup/plugin-replace';
|
||||||
import pkg from './package.json';
|
|
||||||
import { string } from 'rollup-plugin-string';
|
import { string } from 'rollup-plugin-string';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
@@ -20,6 +19,10 @@ export default defineConfig({
|
|||||||
target: 'http://localhost:8000',
|
target: 'http://localhost:8000',
|
||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
},
|
},
|
||||||
|
'/static': {
|
||||||
|
target: 'http://localhost:8000',
|
||||||
|
changeOrigin: true
|
||||||
|
},
|
||||||
'/ws': {
|
'/ws': {
|
||||||
target: 'ws://localhost:8000',
|
target: 'ws://localhost:8000',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
@@ -34,8 +37,6 @@ export default defineConfig({
|
|||||||
}),
|
}),
|
||||||
replace({
|
replace({
|
||||||
preventAssignment: true
|
preventAssignment: true
|
||||||
// VDITOR_VERSION: JSON.stringify(pkg.dependencies.vditor.replace(/^[\^\~]/g, '')),
|
|
||||||
// '_VDITOR_VERSION as VDITOR_VERSION': ''
|
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
|
|||||||
Reference in new issue
Block a user