小编Rav*_*avi的帖子

我发现错误System.config不是浏览器控制台中的功能

我是Type脚本的新手,但出现以下错误。

Uncaught TypeError: System.config is not a function
    at systemjs.config.js:53
    at systemjs.config.js:55
Run Code Online (Sandbox Code Playgroud)

请让我知道您需要更多的细节

-----编辑添加以下内容-----

以下是我的systemjs.config.js,请建议如何将其迁移到2.0.2版本的systemjs

/**
 * System configuration for Angular 2 samples
 * Adjust as necessary for your application needs.
 */
(function (global) {

  // map tells the System loader where to look for things
  var map = {
    'app': 'app', // 'dist',

    '@angular': 'node_modules/@angular',
    'rxjs': 'node_modules/rxjs'
  };

  // packages tells the System loader how to load when no filename and/or no extension
  var packages = {
    'app': { …
Run Code Online (Sandbox Code Playgroud)

typescript systemjs angular

6
推荐指数
0
解决办法
1930
查看次数

对象必需的错误Excel VBA

我正在创建一个VBA应用程序,我有以下代码:


Dim previousCell As range


Private Sub Worksheet_SelectionChange(ByVal target As range)

Application.EnableEvents = False
On Error GoTo ws_exit:


Set previousCell = target
getEffort (previousCell) '**Here i get object required** 

ws_exit:
    Application.EnableEvents = True
    MsgBox Err.Description

End Sub

Private Function getEffort(ByVal cell As range)

' do soemthing

End Sub
Run Code Online (Sandbox Code Playgroud)

我不确定为什么会收到错误消息: Object required error at getEffort(previousCell).如果我通过Target,它的工作原理.

谢谢

excel vba

5
推荐指数
2
解决办法
1万
查看次数

标签 统计

angular ×1

excel ×1

systemjs ×1

typescript ×1

vba ×1