mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-11-27 04:09:51 +08:00
fix: not striping all console statements...
This commit is contained in:
parent
65bb130070
commit
5d10492115
@ -1,6 +1,5 @@
|
||||
const vue = require('rollup-plugin-vue')
|
||||
const resolve = require('@rollup/plugin-node-resolve')
|
||||
const strip = require('@rollup/plugin-strip')
|
||||
const { terser } = require('rollup-plugin-terser')
|
||||
const naiveSCSSVariable = require('./build/naiveSCSSVarPlugin')
|
||||
|
||||
@ -33,7 +32,6 @@ module.exports = {
|
||||
}
|
||||
}),
|
||||
naiveSCSSVariable(),
|
||||
strip(),
|
||||
terser({
|
||||
mangle: false,
|
||||
output: {
|
||||
|
@ -152,7 +152,7 @@ export default {
|
||||
this.internalSelectedKeys = this.defaultSelectedKeys || []
|
||||
if (this.defaultExpandAll) {
|
||||
this.internalExpandedKeys = getAllKeys(this.data)
|
||||
console.log('getAllKeys(this.data)', getAllKeys(this.data))
|
||||
// console.log('getAllKeys(this.data)', getAllKeys(this.data))
|
||||
}
|
||||
},
|
||||
data () {
|
||||
@ -189,7 +189,7 @@ export default {
|
||||
this.filter
|
||||
)
|
||||
this.highlightKeys = highlightKeys
|
||||
console.log(highlightKeys)
|
||||
// console.log(highlightKeys)
|
||||
if (!this.hasExpandedKeys) {
|
||||
this.internalExpandedKeys = expandedKeysAfterChange
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user