mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-07-03 22:42:45 +08:00
为函数参数和局部变量添加信息提示工具提示
This commit is contained in:
parent
932b828de0
commit
0f020d394a
@ -52,6 +52,9 @@
|
|||||||
<div class="section-title">
|
<div class="section-title">
|
||||||
<q-icon name="functions" size="16px" />
|
<q-icon name="functions" size="16px" />
|
||||||
<div>函数参数</div>
|
<div>函数参数</div>
|
||||||
|
<q-icon name="info" size="12px" class="q-ml-sm">
|
||||||
|
<q-tooltip> 函数的参数,注意不要与局部变量重名 </q-tooltip>
|
||||||
|
</q-icon>
|
||||||
</div>
|
</div>
|
||||||
<q-btn
|
<q-btn
|
||||||
flat
|
flat
|
||||||
@ -94,6 +97,11 @@
|
|||||||
<div class="section-title">
|
<div class="section-title">
|
||||||
<q-icon name="data_object" size="16px" />
|
<q-icon name="data_object" size="16px" />
|
||||||
<div>局部变量</div>
|
<div>局部变量</div>
|
||||||
|
<q-icon name="info" size="12px" class="q-ml-sm">
|
||||||
|
<q-tooltip>
|
||||||
|
会在函数的顶部进行定义,注意赋值时字符串需用引号包裹
|
||||||
|
</q-tooltip>
|
||||||
|
</q-icon>
|
||||||
</div>
|
</div>
|
||||||
<q-btn
|
<q-btn
|
||||||
flat
|
flat
|
||||||
@ -411,4 +419,8 @@ export default defineComponent({
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.q-separator {
|
||||||
|
opacity: 0.3;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user