HarmonyOS promptAction.showToast的zIndex是多少?

promptAction.showToast的zIndex是多少

我把一个组件的zIndex设置为9999后,promptAction.showToast就无法显示了,应是被盖住了

那么promptAction.showToast的zIndex值是多少

阅读 566
1 个回答

你可以尝试设置999,看是否还会被盖住,如果无法被盖住,您可以用999以下的值赋给zIndex就不会出现被盖住的问题了