init
This commit is contained in:
13
xhs-mini-demos/component-case/resizable/resizable.wxs
Normal file
13
xhs-mini-demos/component-case/resizable/resizable.wxs
Normal file
@@ -0,0 +1,13 @@
|
||||
function renderResizable(status) {
|
||||
console.log(status)
|
||||
switch(status) {
|
||||
case "lock":
|
||||
return '锁定屏幕中';
|
||||
case "unlock":
|
||||
return "可旋转屏幕";
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
renderResizable: renderResizable
|
||||
}
|
||||
Reference in New Issue
Block a user