离子警报标签不显示

时间:2017-11-20 09:17:11

标签: ionic-framework

我使用的是Ionic 3,我尝试在输入字段后面显示标签,但它不显示,为什么不显示?请帮我解决一下

由于

 doPrompt() {
        let prompt = this.alertCtrl.create({
          title: '5 Rooms Available',
          message: "",

        inputs: [

            {
              label: "Single Rooms (3)",
              name: 'Single Rooms (3)',
              placeholder: '$200.00',


            },

          ],

          buttons: [
            {
              text: 'Cancel',
              handler: data => {
                console.log('Cancel clicked');
              }
            },
            {
              text: 'Set',
              handler: data => {
                console.log('Saved clicked');
              }
            }
          ]
        });
        prompt.present();
      }

0 个答案:

没有答案