Browse Source

fix: input box cursor error #2207

pull/2222/head
tanjinzhou 5 years ago
parent
commit
352eb84eff
  1. 4
      components/input/Input.jsx
  2. 4
      components/input/TextArea.jsx
  3. 1
      webpack.config.js

4
components/input/Input.jsx

@ -109,7 +109,9 @@ export default {
callback && callback();
});
} else {
this.$forceUpdate();
//
// https://github.com/vueComponent/ant-design-vue/issues/2207modal new
// this.$forceUpdate();
}
},
onChange(e) {

4
components/input/TextArea.jsx

@ -52,7 +52,9 @@ export default {
callback && callback();
});
} else {
this.$forceUpdate();
//
// https://github.com/vueComponent/ant-design-vue/issues/2207modal new
// this.$forceUpdate();
}
},
handleKeyDown(e) {

1
webpack.config.js

@ -79,6 +79,7 @@ module.exports = {
resolve: {
alias: {
'ant-design-vue': path.join(__dirname, './components'),
vue$: 'vue/dist/vue.esm.js',
},
extensions: ['.js', '.jsx', '.vue'],
},

Loading…
Cancel
Save