fastman3-component-keyboard
v1.0.1
Published
a fastman3 keyboard component
Downloads
1
Readme
fastman3-component-keyboard
CHANGELOG
v 1.0.0 - 2021.4.23
- 初始化构建
安全键盘
使用方式
安装
cnpm install fastman3-component-keyboard
// 头部引入
import { Securekeyboard } from "fastman3-component-keyboard"
// 入口 scss 引入样式文件
@import "~fastman3-component-keyboard/es/index.scss";
// View
const Keyboard: FC<KeyboardProps> = () => {
async function checkLogin() {
console.log("aaa");
try {
const result = await webShortLogin();
console.log("整个二级登录流程结束", result);
} catch (e) {
console.log("afdfdfdfd", e);
}
}
return (
<View className="keyboard-page">
<View className="iconfont icondaxiaoxie"></View>
<Securekeyboard />
<AtButton onClick={checkLogin}>查询二级登录状态-测试</AtButton>
</View>
);
};