master
fanluyan 2 years ago
parent 1390a8d10d
commit d798f100ee

@ -90,7 +90,7 @@
<el-button type="primary" @click="handleShowErr"
>手动拍照</el-button
>
<el-button type="primary" @click="handleShowErr"
<el-button type="primary" @click="handleShowGPS"
>获取GPS位置</el-button
>
<el-button type="primary" @click="handleShowErr"
@ -302,6 +302,18 @@ export default {
handleUpGrade() {
this.$refs.deviceupgrade_ref.display();
},
//GPS
handleShowGPS() {
this.$alert("这是一段内容", "标题名称", {
confirmButtonText: "确定",
callback: (action) => {
this.$message({
type: "info",
message: `action: ${action}`,
});
},
});
},
//
handlePanel() {
//const nodes = this.$refs.tree.getNode(this.currentNodekey).data; //

Loading…
Cancel
Save