diff --git a/.gitignore b/.gitignore index 6c1972c..02b9536 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .DS_Store node_modules /unpackage +/.hbuilderx # local env files .env.local diff --git a/components/lb-picker/index.vue b/components/lb-picker/index.vue index 2c6afd8..b0fcac1 100644 --- a/components/lb-picker/index.vue +++ b/components/lb-picker/index.vue @@ -357,7 +357,9 @@ export default { this.visible = true setTimeout(() => { this.maskBgColor = this.maskColor - this.containerVisible = true + // #ifndef APP-NVUE + this.containerVisible = true + // #endif // #ifdef APP-NVUE this.wxAnimation(0) // #endif @@ -366,7 +368,9 @@ export default { hide () { if (this.inline) return this.maskBgColor = defaultMaskBgColor - this.containerVisible = false + // #ifndef APP-NVUE + this.containerVisible = false + // #endif // #ifdef APP-NVUE this.wxAnimation('100%') // #endif diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..23a1d98 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "target": "es2015", + "module": "esnext", + "baseUrl": "./", + "paths": { + "@/*": ["./*"] + } + }, + "include": [ + "./**/*" + ] +} \ No newline at end of file diff --git a/package.json b/package.json index 82eb503..28787cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "uni-lb-picker", - "version": "1.1.10", + "version": "1.2.0", "description": "uniapp picker选择器,可自定义,扩展性高,支持单选、理论任意级数多级联动、非联动及日期选择。", "main": "components/lb-picker/index.vue", "scripts": {