forked from AkkomaGang/akkoma-fe
fix preset
This commit is contained in:
parent
d49434a799
commit
9cea1bc08c
3 changed files with 6 additions and 2 deletions
|
@ -21,6 +21,7 @@ module.exports = {
|
|||
'generator-star-spacing': 0,
|
||||
// allow debugger during development
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
|
||||
'vue/require-prop-types': 0
|
||||
'vue/require-prop-types': 0,
|
||||
'vue/no-unused-vars': 0
|
||||
}
|
||||
}
|
||||
|
|
|
@ -746,6 +746,9 @@ export default {
|
|||
},
|
||||
selected () {
|
||||
this.dismissWarning()
|
||||
if (Object.prototype.toString.call(this.selected) === '[object String]') {
|
||||
this.selected = JSON.parse(this.selected)
|
||||
}
|
||||
if (this.selectedVersion === 1) {
|
||||
if (!this.keepRoundness) {
|
||||
this.clearRoundness()
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
<option
|
||||
v-for="style in availableStyles"
|
||||
:key="style.name"
|
||||
:value="style"
|
||||
:value="JSON.stringify(style)"
|
||||
:style="{
|
||||
backgroundColor: style[1] || (style.theme || style.source).colors.bg,
|
||||
color: style[3] || (style.theme || style.source).colors.text
|
||||
|
|
Loading…
Reference in a new issue