Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CoderOpen/waimai
/ setSizeWithUnit
Function
setSizeWithUnit
front/wxcomponents/vant/loading/index.js:21–25 ·
view source on GitHub ↗
(size)
Source
from the content-addressed store, hash-verified
19
},
20
methods: {
21
setSizeWithUnit(size) {
22
this.setData({
23
sizeWithUnit: addUnit(size)
24
});
25
},
26
setTextSizeWithUnit(size) {
27
this.set({
28
textSizeWithUnit: addUnit(size)
Callers
nothing calls this directly
Calls
1
addUnit
Function · 0.90
Tested by
no test coverage detected