electron内使用vue-slider-component组件报“$attrs is readonly”错误
解决办法
安装vue-no-ssr
插件 https://www.npmjs.com/package/vue-no-ssr
npm install vue-no-ssr --save-dev
代码
<no-ssr>
<vue-slider :value="$store.state.setting.bg.blur" lazy :min="0" :max="100" @change="handleChange('setting.bg.blur', $event)" />
</no-ssr>