@@ -0,0 +1,32 @@
+const mixin = {
+ data() {
+ return {
+ // 设备类型列表
+ typeOptions: [{
+ value: 1,
+ label: "蓝牙",
+ },
+ {
+ value: 2,
+ label: "WiFi",
+ value: 3,
+ label: "传统蓝牙",
+ value: 4,
+ label: "4G",
+ ]
+ }
+ methods: {
+ // 字典翻译
+ typeFormatter(row){
+ return this.selectDictLabel(this.typeOptions, row.type)
+}
+
+export default mixin