changes
This commit is contained in:
@@ -267,20 +267,20 @@ const options = [
|
||||
{ code: "system", name: "Của hệ thống" },
|
||||
{ code: "your", name: "Của bạn" },
|
||||
];
|
||||
var props = defineProps({
|
||||
const props = defineProps({
|
||||
pagename: String,
|
||||
row: Object,
|
||||
});
|
||||
var message = ref();
|
||||
var image = ref();
|
||||
var file = ref();
|
||||
var link = ref();
|
||||
var tab = ref("message");
|
||||
var record = await $getdata("useraction", {
|
||||
const message = ref();
|
||||
const image = ref();
|
||||
const file = ref();
|
||||
const link = ref();
|
||||
const tab = ref("message");
|
||||
let record = await $getdata("useraction", {
|
||||
first: true,
|
||||
filter: { user: 1, action: props.row.id },
|
||||
});
|
||||
var option = ref(record ? "your" : "system");
|
||||
const option = ref(record ? "your" : "system");
|
||||
function getValue() {
|
||||
if (option.value === "your") {
|
||||
message.value = record ? $copy(record.message || [{ code: $id() }]) : [{ code: $id() }];
|
||||
|
||||
Reference in New Issue
Block a user