WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-04-14 5904eefcaf45cefa39a979cebc54e1446211f378
修复h5模式下文本域组件的问题
2 files modified
7 ■■■■■ changed files
common/Tools.js 5 ●●●●● patch | view | raw | blame | history
forms/textarea/CTextArea.vue 2 ●●● patch | view | raw | blame | history
common/Tools.js
@@ -11,13 +11,14 @@
    /**
     * 显示消息
     * @param msg
     * @param [duration=2000]
     */
    static toast(msg) {
    static toast(msg, duration = 2000) {
        Taro.showToast({
            title: msg,
            icon: 'none',
            mask: true,
            duration: 2000,
            duration,
        });
    }
forms/textarea/CTextArea.vue
@@ -51,7 +51,7 @@
    },
    computed: {
        areaHeight() {
            return Taro.pxTransform(this.height);
            return Taro.pxTransform(this.height, 750);
        },
    },
    methods: {},