mm_os 4.0.8 → 4.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/com/template/index.js +5 -5
- package/package.json +1 -1
package/com/template/index.js
CHANGED
|
@@ -22,17 +22,17 @@ class Template extends Index {
|
|
|
22
22
|
* 标题
|
|
23
23
|
* @type {string}
|
|
24
24
|
*/
|
|
25
|
-
title: '
|
|
25
|
+
title: 'template管理',
|
|
26
26
|
/**
|
|
27
27
|
* 描述
|
|
28
28
|
* @type {string}
|
|
29
29
|
*/
|
|
30
|
-
description: '这是
|
|
30
|
+
description: '这是template管理器',
|
|
31
31
|
/**
|
|
32
32
|
* 检索文件名
|
|
33
33
|
* @type {string}
|
|
34
34
|
*/
|
|
35
|
-
filename: '
|
|
35
|
+
filename: 'template.json',
|
|
36
36
|
/**
|
|
37
37
|
* 模板目录
|
|
38
38
|
* @type {string}
|
|
@@ -42,12 +42,12 @@ class Template extends Index {
|
|
|
42
42
|
* 基础目录
|
|
43
43
|
* @type {string}
|
|
44
44
|
*/
|
|
45
|
-
base_dir: '../common/
|
|
45
|
+
base_dir: '../common/template'.fullname(__dirname),
|
|
46
46
|
/**
|
|
47
47
|
* 自定义目录,加载项目自定义资源
|
|
48
48
|
* @type {string}
|
|
49
49
|
*/
|
|
50
|
-
dir: './
|
|
50
|
+
dir: './static/template'.fullname(),
|
|
51
51
|
/**
|
|
52
52
|
* 搜索模式 dir按目录搜索 | file按文件名搜索
|
|
53
53
|
* @type {string}
|