import * as 用法

import * as用法

  1. import 导入模块变量-----这里在导入的时候岁sub变量重命名,import的时候必须使用大括号!
  2. 一次性全部导入模块变量!

     

     

posted @ 2020-03-07 12:24  无底深渊。  阅读(17433)  评论(0编辑  收藏  举报