remove rxdb rxjs

This commit is contained in:
hunlongyu
2020-01-15 14:39:54 +08:00
parent 4a01550ad6
commit f05a361265
7 changed files with 156 additions and 6 deletions

View File

@@ -40,8 +40,8 @@ const { ipcRenderer: ipc } = require('electron')
export default Vue.extend({
data () {
return {
Main: 'Setting',
drawer: true
Main: 'Star',
drawer: false
}
},
components: {

View File

@@ -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')

View File

@@ -43,7 +43,7 @@ export default Vue.extend({
}
},
created () {
console.log('alal')
console.log('papa')
}
})
</script>

View File

View 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
}