update 完善了部分开发文档
This commit is contained in:
21
Web/src/pages/system/doc/api/usage.vue
Normal file
21
Web/src/pages/system/doc/api/usage.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<section>
|
||||
<p>调用时可以直接使用全局函数。</p>
|
||||
<p>接口的函数名对应到上面配置的接口名称即可。</p>
|
||||
<Highlight :code="codes['/api/usage.js']" language="javascript" />
|
||||
</section>
|
||||
</template>
|
||||
<script>
|
||||
import Highlight from '../highlight';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
Highlight,
|
||||
},
|
||||
props: {
|
||||
codes: {
|
||||
type: Object,
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user