       console.log '读取文件失败'
 
   setConfig:(config) ->
-    @appId.setText(config['identifier'])
+    @appId.html(config['identifier'])
     @appName.setText(config['name'])
     @appVersion.setText(config['version'])
     @appStartModule.setText(config['mainModule'])

  saveInput: ->
    project_path = if @configPath? then @configPath else PathM.join $('.entry.selected span').attr('data-path'),'appConfig.json'
    mod =
      identifier: @appId.getText().trim()
      name: @appName.getText().trim()
      version: @appVersion.getText().trim()
      mainModule: @appStartModule.getText().trim()

      @div class: "col-xs-12", =>
        @label class: 'col-sm-3 col-md-3', "应用标识"
        @div class: 'col-sm-9 col-md-9', =>
          @div outlet: 'appId', class: 'textEditStyle'
      @div class: "col-xs-12 ", =>
        @label class: 'col-sm-3 col-md-3', "应用名称"
        @div class: 'col-sm-9 col-md-9', =>
