mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-06-30 16:46:08 +08:00
remove rxdb rxjs
This commit is contained in:
@@ -40,8 +40,8 @@ const { ipcRenderer: ipc } = require('electron')
|
||||
export default Vue.extend({
|
||||
data () {
|
||||
return {
|
||||
Main: 'Setting',
|
||||
drawer: true
|
||||
Main: 'Star',
|
||||
drawer: false
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
||||
@@ -43,7 +43,7 @@ export default Vue.extend({
|
||||
mounted () {
|
||||
if (Hls.isSupported()) {
|
||||
if (this.xg === null) {
|
||||
this.xg = new Hls(this.config)
|
||||
// this.xg = new Hls(this.config)
|
||||
}
|
||||
} else {
|
||||
console.log('haha')
|
||||
|
||||
@@ -43,7 +43,7 @@ export default Vue.extend({
|
||||
}
|
||||
},
|
||||
created () {
|
||||
console.log('alal')
|
||||
console.log('papa')
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
0
src/plugins/rxdb/index.ts
Normal file
0
src/plugins/rxdb/index.ts
Normal file
41
src/plugins/rxdb/schema.ts
Normal file
41
src/plugins/rxdb/schema.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
const videoSchema = {
|
||||
version: 0,
|
||||
type: 'object',
|
||||
properties: {
|
||||
name: {
|
||||
type: 'string'
|
||||
},
|
||||
type: {
|
||||
type: 'string'
|
||||
},
|
||||
time: {
|
||||
type: 'string'
|
||||
},
|
||||
detail: {
|
||||
type: 'string',
|
||||
primary: true
|
||||
},
|
||||
urls: {
|
||||
type: 'array'
|
||||
},
|
||||
index: {
|
||||
type: 'number'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const settingSchema = {
|
||||
version: 0,
|
||||
type: 'object',
|
||||
properties: {
|
||||
theme: {
|
||||
type: 'string',
|
||||
default: 'light'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {
|
||||
videoSchema,
|
||||
settingSchema
|
||||
}
|
||||
Reference in New Issue
Block a user