exercises.md 506 字节
Newer Older
m0_65861709's avatar
update  
m0_65861709 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
# 问题描述

在下列选项中,引入js写法错误的是?

## 答案

``` javascript
import DateUtils from "https://www.baidu.net/utils/DateUtils.js"
```

## 选项

### A

``` javascript
import DateUtils from "@/commons/utils/DateUtils.js"
```

### B

``` javascript
import DateUtils from "../../commons/utils/DateUtils.js"
```

### C

``` javascript
import {add , div} from "../../commons/utils/CalcUtils.js"
```

### D

``` javascript
import {add , div} from "@/commons/utils/CalcUtils.js"
```