We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d8ac93 commit 72b47ddCopy full SHA for 72b47dd
js/main.js
@@ -1181,10 +1181,13 @@
1181
4-类型改变,红色;
1182
*/
1183
test: function () {
1184
- var baseUrl = App.getBaseUrl()
1185
var list = App.remotes || []
+ if (list.length <= 0) {
1186
+ alert('请先获取测试用例文档\n点击[查看共享]图标按钮')
1187
+ return
1188
+ }
1189
+ var baseUrl = App.getBaseUrl()
1190
var item
- alert('test list.length = ' + list.length)
1191
for (var i = 0; i < list.length; i ++) {
1192
item = list[i]
1193
if (item == null || item.name == null) {
0 commit comments