aboutsummaryrefslogtreecommitdiff
path: root/zh-cn/manual
diff options
context:
space:
mode:
Diffstat (limited to 'zh-cn/manual')
-rw-r--r--zh-cn/manual/plugin_task.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/zh-cn/manual/plugin_task.md b/zh-cn/manual/plugin_task.md
index 2e24e2fd..22984629 100644
--- a/zh-cn/manual/plugin_task.md
+++ b/zh-cn/manual/plugin_task.md
@@ -266,7 +266,7 @@ function main(...)
end
```
-就是一个简单的带`main`主函数的脚本文件,你可以通过[import](#import)导入各种扩展模块,实现复杂功能,例如:
+就是一个简单的带`main`主函数的脚本文件,你可以通过[import](/zh-cn/manual/builtin_modules?id=import)导入各种扩展模块,实现复杂功能,例如:
```lua
-- 导入参数选项模块
@@ -280,7 +280,7 @@ function main(...)
end
```
-你也可以在当前目录下,创建多个自定义的模块文件,通过[import](#import)导入后使用,例如:
+你也可以在当前目录下,创建多个自定义的模块文件,通过[import](/zh-cn/manual/builtin_modules?id=import)导入后使用,例如:
```
projectdir
@@ -313,7 +313,7 @@ function main(...)
end
```
-更多模块介绍见:[内置模块](#内置模块)和[扩展模块](扩展模块)
+更多模块介绍见:[内置模块](/zh-cn/manual/builtin_modules)和[扩展模块](/zh-cn/manual/extension_modules)
其中,`main(...)`中参数,是通过`task.run`指定的,例如: