提交 acf399c2 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

优化 rich-text.test.js 示例,调整调用时机

(cherry picked from commit 3981e811)
上级 54cb94e2
......@@ -18,6 +18,7 @@ describe('rich-text-test', () => {
it('richt-text-height', async () => {
await page.waitFor(1000);
let beforeValue = await page.data('richTextHeight')
await page.callMethod('changeText')
await page.waitFor(500)
......
......@@ -36,7 +36,7 @@
this.richTextElement = uni.getElementById('richtext') as UniElement
setTimeout(() => {
this.updateRichTextHeight()
}, 500)
}, 1200)
},
methods: {
changeText() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册