0
將我的NativeScript版本升級到最新版本後,我的警報和對話框按鈕呈白色。 請幫我找回原來的黑色...如何在NativeScript中設置對話框樣式?
var dialogs = require("ui/dialogs");
\t dialogs.alert({
\t title: "Be Aware",
\t message: "Make sure you receive money from the customer before you REDEEM.",
\t okButtonText: "Customer Paid"
\t }).then(function() {
\t console.log("Dialog closed!");
\t });
檢查你的CSS文件或在你的CSS中添加一個新的屬性,使它變成白色...... – Weedoze
如何更改顏色變回黑色? – ThabangTG
@weedoze我也在CSS中試過這個:'alert {color:#000000}'但沒有任何改變。 – ThabangTG