【发布时间】:2016-07-27 18:55:31
【问题描述】:
我正在尝试使用 Ionic 框架来构建一个小应用程序,但是警报弹出窗口上没有按钮。由于某种原因,它不可见。
这就是它的样子 -
我的控制器 -
angular.module('starter.controllers', [])
.controller('DashCtrl', function($scope,$ionicPopup) {
$scope.users = {};
$scope.show = function() {
var popup = $ionicPopup.show({
title: 'Don\'t eat that!',
template: 'It might taste good'
});
};
})
请提出可能是什么原因?
谢谢。
【问题讨论】: